diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-calculateBaseline_API/2018-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-calculateBaseline_API/2018-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2976e412724df06c106511cd7c027720b2e02e03 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-calculateBaseline_API/2018-09-01/swagger.yaml @@ -0,0 +1,200 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2018-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: monitor-calculateBaseline_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ExtendedResourceUriParameter: + description: 'The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1' + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/calculatebaseline': + post: + description: '**Lists the baseline values for a resource**.' + operationId: MetricBaseline_CalculateBaseline + parameters: + - $ref: '#/parameters/ExtendedResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Information that need to be specified to calculate a baseline on a time series. + in: body + name: TimeSeriesInformation + required: true + schema: + $ref: '#/definitions/TimeSeriesInformation' + responses: + '200': + description: Successful request to get the list of metric values. + schema: + $ref: '#/definitions/CalculateBaselineResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - Baseline + x-ms-examples: + Calculate baseline: + parameters: + TimeSeriesInformation: + sensitivities: + - Low + - Medium + values: + - 61 + - 62 + api-version: '2018-09-01' + resourceUri: subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default + responses: + '200': + body: + baseline: + - highThresholds: + - 90.3453 + - 91.3453 + lowThresholds: + - 30 + - 31.1 + sensitivity: Low + - highThresholds: + - 70.3453 + - 71.3453 + lowThresholds: + - 50 + - 51.1 + sensitivity: Medium + type: Microsoft.Insights/calculatebaseline +definitions: + Baseline: + description: The baseline values for a single sensitivity value. + properties: + highThresholds: + description: The high thresholds of the baseline. + items: + description: A single high threshold value. + format: double + type: number + type: array + lowThresholds: + description: The low thresholds of the baseline. + items: + description: A single low threshold value. + format: double + type: number + type: array + sensitivity: + description: The sensitivity of the baseline. + enum: + - Low + - Medium + - High + type: string + x-ms-enum: + modelAsString: false + name: Sensitivity + required: + - sensitivity + - lowThresholds + - highThresholds + type: object + CalculateBaselineResponse: + description: The response to a calculate baseline call. + properties: + baseline: + description: The baseline values for each sensitivity. + items: + $ref: '#/definitions/Baseline' + type: array + timestamps: + description: The array of timestamps of the baselines. + items: + description: The timestamp for the baseline value in ISO 8601 format. + format: date-time + type: string + type: array + type: + description: The resource type of the baseline resource. + type: string + required: + - type + - baseline + type: object + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + TimeSeriesInformation: + description: The time series info needed for calculating the baseline. + properties: + sensitivities: + description: The list of sensitivities for calculating the baseline. + items: + description: The requested sensitivity for calculating the baseline. + type: string + type: array + timestamps: + description: The array of timestamps of the baselines. + items: + description: The timestamp for the baseline value in ISO 8601 format. + format: date-time + type: string + type: array + values: + description: The metric values to calculate the baseline. + items: + description: A single metric value. + format: double + type: number + type: array + required: + - sensitivities + - values diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettingsCategories_API/2017-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettingsCategories_API/2017-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf16fc1d9c8f340c800abb2c9bf5df4f39967129 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettingsCategories_API/2017-05-01-preview/swagger.yaml @@ -0,0 +1,189 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-diagnosticsSettingsCategories_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + NameParameter: + description: The name of the diagnostic setting. + in: path + name: name + required: true + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories': + get: + description: Lists the diagnostic settings categories for the specified resource. + operationId: DiagnosticSettingsCategory_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get more information about diagnostic setting category + schema: + $ref: '#/definitions/DiagnosticSettingsCategoryResourceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettingsCategories + x-ms-examples: + Gets the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + value: + - id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime + name: WorkflowRuntime + properties: + categoryType: Logs + type: microsoft.insights/diagnosticSettingsCategories + - id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric + name: WorkflowMetric + properties: + categoryType: Metrics + type: microsoft.insights/diagnosticSettingsCategories + headers: {} + '/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories/{name}': + get: + description: Gets the diagnostic settings category for the specified resource. + operationId: DiagnosticSettingsCategory_Get + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to get more information about diagnostic setting category + schema: + $ref: '#/definitions/DiagnosticSettingsCategoryResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettingsCategories + x-ms-examples: + Gets the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: WorkflowRuntime + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime + name: WorkflowRuntime + properties: + categoryType: Logs + type: microsoft.insights/diagnosticSettingsCategories + headers: {} +definitions: + DiagnosticSettingsCategory: + description: The diagnostic settings Category. + properties: + categoryType: + description: The type of the diagnostic settings category. + enum: + - Metrics + - Logs + type: string + x-ms-enum: + name: categoryType + x-nullable: false + DiagnosticSettingsCategoryResource: + allOf: + - $ref: '#/definitions/ProxyOnlyResource' + description: The diagnostic settings category resource. + properties: + properties: + $ref: '#/definitions/DiagnosticSettingsCategory' + description: The properties of a Diagnostic Settings Category. + x-ms-client-flatten: true + type: object + DiagnosticSettingsCategoryResourceCollection: + description: Represents a collection of diagnostic setting category resources. + properties: + value: + description: The collection of diagnostic settings category resources. + items: + $ref: '#/definitions/DiagnosticSettingsCategoryResource' + type: array + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + ProxyOnlyResource: + description: A proxy only azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + name: + description: Azure resource name + readOnly: true + type: string + type: + description: Azure resource type + readOnly: true + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettings_API/2017-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettings_API/2017-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..59aa00521e4e2c462bb7704dd71abebc5bf9f7f9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-diagnosticsSettings_API/2017-05-01-preview/swagger.yaml @@ -0,0 +1,378 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-diagnosticsSettings_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + NameParameter: + description: The name of the diagnostic setting. + in: path + name: name + required: true + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/diagnosticSettings': + get: + description: Gets the active diagnostic settings list for the specified resource. + operationId: DiagnosticSettings_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get more information about diagnostic setting + schema: + $ref: '#/definitions/DiagnosticSettingsResourceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettings + x-ms-examples: + Gets the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + value: + - id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting + name: mysetting + properties: + eventHubAuthorizationRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - category: WorkflowMetrics + enabled: true + retentionPolicy: + days: 0 + enabled: false + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + type: microsoft.logic/workflows + headers: {} + '/{resourceUri}/providers/microsoft.insights/diagnosticSettings/{name}': + delete: + description: Deletes existing diagnostic settings for the specified resource. + operationId: DiagnosticSettings_Delete + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to remove a diagnostic setting + '204': + description: Successful request to remove a diagnostic setting + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettings + x-ms-examples: + Deletes the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: mysetting + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': {} + '204': {} + get: + description: Gets the active diagnostic settings for the specified resource. + operationId: DiagnosticSettings_Get + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to get more information about diagnostic setting + schema: + $ref: '#/definitions/DiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettings + x-ms-examples: + Gets the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: mysetting + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + name: mysetting + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - category: WorkflowMetrics + enabled: true + retentionPolicy: + days: 0 + enabled: false + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + type: '' + headers: {} + put: + description: Creates or updates diagnostic settings for the specified resource. + operationId: DiagnosticSettings_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DiagnosticSettingsResource' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to create a diagnostic setting + schema: + $ref: '#/definitions/DiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - DiagnosticSettings + x-ms-examples: + Creates or Updates the diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: mysetting + parameters: + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + eventHubName: myeventhub + logAnalyticsDestinationType: Dedicated + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - category: WorkflowMetrics + enabled: true + retentionPolicy: + days: 0 + enabled: false + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + resourceUri: subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting + name: mysetting + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + eventHubName: myeventhub + logAnalyticsDestinationType: Dedicated + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - category: WorkflowMetrics + enabled: true + retentionPolicy: + days: 0 + enabled: false + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + type: '' + headers: {} +definitions: + DiagnosticSettings: + description: The diagnostic settings. + properties: + eventHubAuthorizationRuleId: + description: The resource Id for the event hub authorization rule. + type: string + eventHubName: + description: 'The name of the event hub. If none is specified, the default event hub will be selected.' + type: string + logAnalyticsDestinationType: + description: 'A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)' + type: string + logs: + description: The list of logs settings. + items: + $ref: '#/definitions/LogSettings' + type: array + metrics: + description: The list of metric settings. + items: + $ref: '#/definitions/MetricSettings' + type: array + serviceBusRuleId: + description: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. + type: string + storageAccountId: + description: The resource ID of the storage account to which you would like to send Diagnostic Logs. + type: string + workspaceId: + description: 'The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2' + type: string + DiagnosticSettingsResource: + allOf: + - $ref: '#/definitions/ProxyOnlyResource' + description: The diagnostic setting resource. + properties: + properties: + $ref: '#/definitions/DiagnosticSettings' + description: Properties of a Diagnostic Settings Resource. + x-ms-client-flatten: true + type: object + DiagnosticSettingsResourceCollection: + description: Represents a collection of alert rule resources. + properties: + value: + description: The collection of diagnostic settings resources;. + items: + $ref: '#/definitions/DiagnosticSettingsResource' + type: array + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LogSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. + properties: + category: + description: 'Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.' + type: string + enabled: + description: a value indicating whether this log is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this log. + required: + - enabled + MetricSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. + properties: + category: + description: 'Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.' + type: string + enabled: + description: a value indicating whether this category is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this category. + timeGrain: + description: the timegrain of the metric in ISO8601 format. + format: duration + type: string + required: + - enabled + ProxyOnlyResource: + description: A proxy only azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + name: + description: Azure resource name + readOnly: true + type: string + type: + description: Azure resource type + readOnly: true + type: string + x-ms-azure-resource: true + RetentionPolicy: + description: Specifies the retention policy for the log. + properties: + days: + description: the number of days for the retention in days. A value of 0 will retain the events indefinitely. + format: int32 + minimum: 0 + type: integer + enabled: + description: a value indicating whether the retention policy is enabled. + type: boolean + required: + - enabled + - days diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-eventCategories_API/2015-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-eventCategories_API/2015-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a3d02c39e3d5e0544a6c7c269bf3ec56a8d4d684 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-eventCategories_API/2015-04-01/swagger.yaml @@ -0,0 +1,108 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2015-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-eventCategories_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string +paths: + /providers/microsoft.insights/eventcategories: + get: + description: 'Get the list of available event categories supported in the Activity Logs Service.
The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.' + operationId: EventCategories_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get the list of event categories + schema: + $ref: '#/definitions/EventCategoryCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - EventCategories + x-ms-examples: + Get event categories: + parameters: + api-version: '2015-04-01' + responses: + '200': + body: + value: + - localizedValue: category1 + value: category1 + - localizedValue: category2 + value: category2 + x-ms-pageable: + nextLinkName: null +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + EventCategoryCollection: + description: 'A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.' + properties: + value: + description: the list that includes the Azure event categories. + items: + $ref: '#/definitions/LocalizableString' + type: array + required: + - value + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettingsAssociation_API/2018-06-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettingsAssociation_API/2018-06-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9ff2f59e7e5e1fa1b7214c23550b757a8c0b0ab --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettingsAssociation_API/2018-06-01-preview/swagger.yaml @@ -0,0 +1,370 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources + title: Guest Diagnostic Settings Association + version: 2018-06-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-guestDiagnosticSettingsAssociation_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + DiagnosticSettingsAssociationNameParameter: + description: The name of the diagnostic settings association. + in: path + name: associationName + required: true + type: string + x-ms-parameter-location: method + ResourceGroupNameParameter: + description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Azure subscription Id. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations': + get: + description: Get a list of all guest diagnostic settings association in a subscription. + operationId: GuestDiagnosticsSettingsAssociation_List + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationList' + default: + description: An error occurred and the list of guest diagnostic settings association could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations': + get: + description: Get a list of all guest diagnostic settings association in a resource group. + operationId: GuestDiagnosticsSettingsAssociation_ListByResourceGroup + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationList' + default: + description: An error occurred and the list of guest diagnostic settings association could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-pageable: + nextLinkName: null + '/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}': + delete: + description: Delete guest diagnostics association settings. + operationId: GuestDiagnosticsSettingsAssociation_Delete + parameters: + - description: 'The fully qualified ID of the resource, including the resource name and resource type.' + in: path + name: resourceUri + required: true + type: string + x-ms-skip-url-encoding: true + - $ref: '#/parameters/DiagnosticSettingsAssociationNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The diagnostic settings association was successfully deleted. + '204': + description: The diagnostic settings association does not exist. It may have already been deleted. + default: + description: An error occurred and the diagnostic settings association could not be deleted. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettingsAssociation + x-ms-examples: + Create or update an guest diagnostic settings association: + parameters: + api-version: 2018-06-01-preview + associationName: healthSystemMachineConfigAssociation + resourceUri: subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai + responses: + '200': {} + '204': {} + get: + description: Gets guest diagnostics association settings. + operationId: GuestDiagnosticsSettingsAssociation_Get + parameters: + - description: 'The fully qualified ID of the resource, including the resource name and resource type.' + in: path + name: resourceUri + required: true + type: string + x-ms-skip-url-encoding: true + - $ref: '#/parameters/DiagnosticSettingsAssociationNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + default: + description: An error occurred and the diagnostic settings association could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettingsAssociation + x-ms-examples: + Create or update an guest diagnostic settings association: + parameters: + api-version: 2018-06-01-preview + associationName: healthSystemMachineConfigAssociation + resourceUri: subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai + responses: + '200': + body: + id: /subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation + location: Global + name: healthSystemMachineConfigAssociation + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName + tags: {} + type: Microsoft.Insights/GuestDiagnosticSettingsAssociation + headers: {} + patch: + description: Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method + operationId: GuestDiagnosticsSettingsAssociation_Update + parameters: + - description: 'The fully qualified ID of the resource, including the resource name and resource type.' + in: path + name: resourceUri + required: true + type: string + x-ms-skip-url-encoding: true + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/DiagnosticSettingsAssociationNameParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResourcePatch' + responses: + '200': + description: An existing guest diagnostics setting resource was successfully updated. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + Update a service diagnostic setting: + parameters: + api-version: 2018-06-01-preview + associationName: healthSystemMachineConfigAssociation + parameters: + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity + tags: null + resourceUri: subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai + responses: + '200': + body: + id: /subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation + location: Global + name: healthSystemMachineConfigAssociation + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity + tags: null + type: Microsoft.Insights/GuestDiagnosticSettingsAssociation + headers: {} + put: + description: Creates or updates guest diagnostics settings association. + operationId: GuestDiagnosticsSettingsAssociation_CreateOrUpdate + parameters: + - description: 'The fully qualified ID of the resource, including the resource name and resource type.' + in: path + name: resourceUri + required: true + type: string + x-ms-skip-url-encoding: true + - $ref: '#/parameters/DiagnosticSettingsAssociationNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: The diagnostic settings association to create or update. + in: body + name: diagnosticSettingsAssociation + required: true + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + responses: + '200': + description: An existing guest diagnostic settings association was successfully updated. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + '201': + description: A new guest diagnostic settings association was successfully created. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + default: + description: An error occurred and the guest diagnostic settings association could not be created or updated. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettingsAssociation + x-ms-examples: + Create or update an guest diagnostic settings association: + parameters: + api-version: 2018-06-01-preview + associationName: healthSystemMachineConfigAssociation + diagnosticSettingsAssociation: + location: Global + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity + tags: {} + resourceUri: subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai + responses: + '200': + body: + id: /subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation + location: Global + name: healthSystemMachineConfigAssociation + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity + tags: {} + type: Microsoft.Insights/GuestDiagnosticSettingsAssociation + headers: {} + '201': + body: + id: /subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation + location: Global + name: healthSystemMachineConfigAssociation + properties: + guestDiagnosticSettingsName: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity + tags: {} + type: Microsoft.Insights/GuestDiagnosticSettingsAssociation + headers: {} +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + GuestDiagnosticSettingsAssociation: + description: A guest diagnostic settings association. + properties: + guestDiagnosticSettingsName: + description: The guest diagnostic settings name. + type: string + required: + - guestDiagnosticSettingsName + GuestDiagnosticSettingsAssociationList: + description: A list of guest diagnostic settings association. + properties: + nextLink: + description: Provides the link to retrieve the next set of elements. + type: string + value: + description: The list of guest diagnostic settings association. + items: + $ref: '#/definitions/GuestDiagnosticSettingsAssociationResource' + type: array + GuestDiagnosticSettingsAssociationResource: + allOf: + - $ref: '#/definitions/Resource' + description: Virtual machine guest diagnostic settings resource. + properties: + properties: + $ref: '#/definitions/GuestDiagnosticSettingsAssociation' + description: The diagnostics settings associations of the resource. + x-ms-client-flatten: true + required: + - properties + type: object + GuestDiagnosticSettingsAssociationResourcePatch: + description: Guest diagnostic setting resource for patch operations + properties: + properties: + $ref: '#/definitions/GuestDiagnosticSettingsAssociation' + description: The service diagnostics settings for an update operation. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettings_API/2018-06-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettings_API/2018-06-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bc34bc482e8c435c0982ddfdca1b6075054c8efb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-guestDiagnosticSettings_API/2018-06-01-preview/swagger.yaml @@ -0,0 +1,465 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources + title: Guest Diagnostic Settings + version: 2018-06-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-guestDiagnosticSettings_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + DiagnosticSettingNameParameter: + description: The name of the diagnostic setting. + in: path + name: diagnosticSettingsName + required: true + type: string + x-ms-parameter-location: method + ResourceGroupNameParameter: + description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Azure subscription Id. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings': + get: + description: Get a list of all guest diagnostic settings in a subscription. + operationId: guestDiagnosticsSettings_List + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsList' + default: + description: An error occurred and the list of guest diagnostic settings could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings': + get: + description: Get a list of all guest diagnostic settings in a resource group. + operationId: guestDiagnosticsSettings_ListByResourceGroup + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsList' + default: + description: An error occurred and the list of guest diagnostic settings could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}': + delete: + description: Delete guest diagnostics settings. + operationId: guestDiagnosticsSettings_Delete + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/DiagnosticSettingNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The diagnostic settings was successfully deleted. + '204': + description: The diagnostic settings does not exist. It may have already been deleted. + default: + description: An error occurred and the diagnostic settings could not be deleted. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettings + get: + description: Gets guest diagnostics settings. + operationId: guestDiagnosticsSettings_Get + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/DiagnosticSettingNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The request succeeded. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + default: + description: An error occurred and the diagnostic settings could not be retrieved. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettings + patch: + description: Updates guest diagnostics settings. + operationId: guestDiagnosticsSettings_Update + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/DiagnosticSettingNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: The configuration to patch. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/GuestDiagnosticSettingsPatchResource' + responses: + '200': + description: An existing guest diagnostic settings was successfully updated. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + '201': + description: A new guest diagnostic settings was successfully created. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + default: + description: An error occurred and the guest diagnostic settings could not be created or updated. + schema: + $ref: '#/definitions/ErrorResponse' + put: + description: Creates or updates guest diagnostics settings. + operationId: guestDiagnosticsSettings_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/DiagnosticSettingNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: The configuration to create or update. + in: body + name: diagnosticSettings + required: true + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + responses: + '200': + description: An existing guest diagnostic settings was successfully updated. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + '201': + description: A new guest diagnostic settings was successfully created. + schema: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + default: + description: An error occurred and the guest diagnostic settings could not be created or updated. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - GuestDiagnosticsSettings + x-ms-examples: + Create or update a guest diagnostic settings: + parameters: + api-version: 2018-06-01-preview + diagnosticSettings: + location: Global + properties: + dataSources: + - configuration: + perfCounters: + - name: \Process(_Total)\%Processor Time + samplingPeriod: PT1M + - name: \Process(_Total)\Working Set + samplingPeriod: PT1M + kind: PerformanceCounter + sinks: + - kind: LogAnalytics + - configuration: + providers: + - filter: filter exp + id: 1 + name: AuditLog + - id: 2 + name: TraceLog + kind: ETWProviders + sinks: + - kind: LogAnalytics + - configuration: + eventLogs: + - filter: SourceName == Xyz AND EventId = "100" AND $Xpath/Column="DCName" = "CatWoman" + logName: Application + - filter: SourceName == Xyz AND EventId = "100" AND $Xpath/Column="DCName" = "BatMan" + logName: Application + kind: WindowsEventLogs + sinks: + - kind: LogAnalytics + osType: Windows + tags: {} + diagnosticSettingsName: SampleDiagSetting + resourceGroupName: Default-ResourceGroup + subscriptionId: 187f412d-1758-44d9-b052-169e2564721d + responses: + '200': + body: + id: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting + location: West US + name: productionMachineSetting + properties: + dataSources: + - configuration: + perfCounters: + - name: \Process(_Total)\%Processor Time + samplingPeriod: PT1M + - name: \Process(_Total)\Working Set + samplingPeriod: PT1M + kind: PerformanceCounter + sinks: + - kind: LogAnalytics + osType: Windows + tags: {} + type: Microsoft.Insights/guestDiagnosticSettings + headers: {} + '201': + body: + id: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting + location: West US + name: SampleDiagSetting + properties: + dataSources: + - configuration: + perfCounters: + - name: \Process(_Total)\%Processor Time + samplingPeriod: PT1M + - name: \Process(_Total)\Working Set + samplingPeriod: PT1M + kind: PerformanceCounter + sinks: + - kind: LogAnalytics + osType: Windows + tags: {} + type: Microsoft.Insights/guestDiagnosticSettings + headers: {} +definitions: + DataSource: + description: Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to + properties: + configuration: + $ref: '#/definitions/DataSourceConfiguration' + type: object + kind: + description: Datasource kind + enum: + - PerformanceCounter + - ETWProviders + - WindowsEventLogs + type: string + sinks: + items: + $ref: '#/definitions/SinkConfiguration' + type: array + required: + - kind + - configuration + - sinks + type: object + DataSourceConfiguration: + properties: + eventLogs: + description: Windows event logs configuration. + items: + $ref: '#/definitions/EventLogConfiguration' + type: array + perfCounters: + description: Performance counter configuration + items: + $ref: '#/definitions/PerformanceCounterConfiguration' + type: array + providers: + description: ETW providers configuration + items: + $ref: '#/definitions/EtwProviderConfiguration' + type: array + type: object + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + EtwEventConfiguration: + properties: + filter: + type: string + id: + type: integer + name: + type: string + required: + - name + - id + type: object + EtwProviderConfiguration: + properties: + events: + items: + $ref: '#/definitions/EtwEventConfiguration' + type: array + id: + type: string + required: + - id + - events + type: object + EventLogConfiguration: + properties: + filter: + type: string + logName: + type: string + required: + - logName + type: object + GuestDiagnosticSettings: + description: Virtual machine diagnostic settings + properties: + dataSources: + description: the array of data source object which are configured to collect and send data + items: + $ref: '#/definitions/DataSource' + type: array + osType: + description: Operating system type for the configuration + enum: + - Windows + - Linux + type: string + proxySetting: + type: string + GuestDiagnosticSettingsList: + description: A list of guest diagnostic settings. + properties: + nextLink: + description: Provides the link to retrieve the next set of elements. + type: string + value: + description: The list of guest diagnostic settings. + items: + $ref: '#/definitions/GuestDiagnosticSettingsResource' + type: array + GuestDiagnosticSettingsPatchResource: + description: An diagnostic settings object for the body of patch operations. + properties: + properties: + $ref: '#/definitions/GuestDiagnosticSettings' + description: The diagnostic settings for an update operation. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + GuestDiagnosticSettingsResource: + allOf: + - $ref: '#/definitions/Resource' + description: Virtual machine guest diagnostics settings resource. + properties: + properties: + $ref: '#/definitions/GuestDiagnosticSettings' + description: The diagnostic settings to be applied to azure resources. + x-ms-client-flatten: true + required: + - properties + type: object + PerformanceCounterConfiguration: + properties: + instance: + type: string + name: + type: string + samplingPeriod: + type: string + required: + - name + - samplingPeriod + type: object + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + SinkConfiguration: + properties: + kind: + enum: + - EventHub + - ApplicationInsights + - LogAnalytics + type: string + required: + - kind + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-logProfiles_API/2016-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-logProfiles_API/2016-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..01d7b523124009095325c6cc5d2c06a2227b298b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-logProfiles_API/2016-03-01/swagger.yaml @@ -0,0 +1,423 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2016-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-logProfiles_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + LogProfileNameParameter: + description: The name of the log profile. + in: path + name: logProfileName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Azure subscription Id. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles': + get: + description: List the log profiles. + operationId: LogProfiles_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to list log profiles + schema: + $ref: '#/definitions/LogProfileCollection' + tags: + - LogProfiles + x-ms-examples: + List log profiles: + parameters: + api-version: '2016-03-01' + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + value: + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default + location: '' + name: default + properties: + categories: + - Delete + - Write + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: null + type: '' + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default2 + location: '' + name: default2 + properties: + categories: + - Delete + - Write + - Action + locations: + - global + retentionPolicy: + days: 15 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8165 + tags: null + type: '' + headers: {} + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles/{logProfileName}': + delete: + description: Deletes the log profile. + operationId: LogProfiles_Delete + parameters: + - $ref: '#/parameters/LogProfileNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to delete a log profile + tags: + - LogProfiles + x-ms-examples: + Delete log profile: + parameters: + api-version: '2016-03-01' + logProfileName: Rac46PostSwapRG + subscriptionId: b67f7fec-69fc-4974-9099-a26bd6ffeda3 + responses: + '200': {} + get: + description: Gets the log profile. + operationId: LogProfiles_Get + parameters: + - $ref: '#/parameters/LogProfileNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to get more information about a log profile. + schema: + $ref: '#/definitions/LogProfileResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - LogProfiles + x-ms-examples: + Get log profile: + parameters: + api-version: '2016-03-01' + logProfileName: default + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default + location: '' + name: default + properties: + categories: + - Delete + - Write + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: null + type: '' + headers: {} + patch: + description: Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method. + operationId: LogProfiles_Update + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LogProfileNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: logProfilesResource + required: true + schema: + $ref: '#/definitions/LogProfileResourcePatch' + responses: + '200': + description: An existing log profile was successfully updated. + schema: + $ref: '#/definitions/LogProfileResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + Patch a log profile: + parameters: + api-version: '2016-03-01' + logProfileName: Rac46PostSwapRG + logProfilesResource: + properties: + categories: + - Write + - Delete + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: + key1: value1 + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default + location: '' + name: default + properties: + categories: + - Delete + - Write + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: + key1: value1 + type: '' + headers: {} + put: + description: Create or update a log profile in Azure Monitoring REST API. + operationId: LogProfiles_CreateOrUpdate + parameters: + - $ref: '#/parameters/LogProfileNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LogProfileResource' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to create or update a log profile + schema: + $ref: '#/definitions/LogProfileResource' + tags: + - LogProfiles + x-ms-examples: + Create or update a log profile: + parameters: + api-version: '2016-03-01' + logProfileName: Rac46PostSwapRG + parameters: + location: '' + properties: + categories: + - Write + - Delete + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: {} + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default + location: '' + name: default + properties: + categories: + - Delete + - Write + - Action + locations: + - global + retentionPolicy: + days: 3 + enabled: true + serviceBusRuleId: '' + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162 + tags: null + type: '' + headers: {} +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LogProfileCollection: + description: Represents a collection of log profiles. + properties: + value: + description: the values of the log profiles. + items: + $ref: '#/definitions/LogProfileResource' + type: array + required: + - value + LogProfileProperties: + description: The log profile properties. + properties: + categories: + description: 'the categories of the logs. These categories are created as is convenient to the user. Some values are: ''Write'', ''Delete'', and/or ''Action.''' + items: + type: string + type: array + locations: + description: List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. + items: + type: string + type: array + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for the events in the log. + serviceBusRuleId: + description: 'The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: ''{service bus resource ID}/authorizationrules/{key name}''.' + type: string + storageAccountId: + description: the resource id of the storage account to which you would like to send the Activity Log. + type: string + required: + - locations + - categories + - retentionPolicy + LogProfileResource: + allOf: + - $ref: '#/definitions/Resource' + description: The log profile resource. + properties: + properties: + $ref: '#/definitions/LogProfileProperties' + description: The log profile properties of the resource. + x-ms-client-flatten: true + required: + - properties + type: object + LogProfileResourcePatch: + description: The log profile resource for patch operations. + properties: + properties: + $ref: '#/definitions/LogProfileProperties' + description: The log profile properties for an update operation. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + RetentionPolicy: + description: Specifies the retention policy for the log. + properties: + days: + description: the number of days for the retention in days. A value of 0 will retain the events indefinitely. + format: int32 + minimum: 0 + type: integer + enabled: + description: a value indicating whether the retention policy is enabled. + type: boolean + required: + - enabled + - days diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricAlert_API/2018-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricAlert_API/2018-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6750719262f014d096de0edfdf4c5de0f408a2a0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricAlert_API/2018-03-01/swagger.yaml @@ -0,0 +1,1595 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Azure Monitor client to create/update/delete metric based alerts. + title: MonitorManagementClient + version: '2018-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-metricAlert_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceGroupNameParameter: + description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + RuleNameParameter: + description: The name of the rule. + in: path + name: ruleName + required: true + type: string + x-ms-parameter-location: method + StatusNameParameter: + description: The name of the status. + in: path + name: statusName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Azure subscription Id. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts': + get: + description: Retrieve alert rule definitions in a subscription. + operationId: MetricAlerts_ListBySubscription + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request for a list of metric alerts + schema: + $ref: '#/definitions/MetricAlertResourceCollection' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlerts + x-ms-examples: + List metric alert rules: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + value: + - id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/highcpu + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: CustomMetric_\Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + - id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/mediumcpu + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: CustomMetric_\Processor(_Total)\% Processor Time + name: Medium_CPU_50 + operator: GreaterThan + threshold: 50.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: Med cpu alert + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 4 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts': + get: + description: Retrieve alert rule definitions in a resource group. + operationId: MetricAlerts_ListByResourceGroup + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request for a list of metric alerts + schema: + $ref: '#/definitions/MetricAlertResourceCollection' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlerts + x-ms-examples: + List metric alert rules: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + value: + - id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/highcpu + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: CustomMetric_\Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + - id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/mediumcpu + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: CustomMetric_\Processor(_Total)\% Processor Time + name: Medium_CPU_50 + operator: GreaterThan + threshold: 50.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: Med cpu alert + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 4 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}': + delete: + description: Delete an alert rule definition. + operationId: MetricAlerts_Delete + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to delete an metric alert rule + '204': + description: 'No content: the request was successful, but the response is empty' + tags: + - MetricAlerts + x-ms-examples: + Delete an alert rule: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': {} + '204': {} + get: + description: Retrieve an alert rule definition. + operationId: MetricAlerts_Get + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request for a list of metric alerts + schema: + $ref: '#/definitions/MetricAlertResource' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlerts + x-ms-examples: + Get a dynamic alert rule for multiple resources: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: MetricAlertOnMultipleResources + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Get a dynamic alert rule for single resource: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + ignoreDataBefore: null + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Get an alert rule for multiple resources: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: MetricAlertOnMultipleResources + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Get an alert rule for single resource: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: \Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Get an alert rule on resource group(s): + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest1 + ruleName: MetricAlertAtResourceGroupLevel + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest1/providers/providers/microsoft.insights/metricalerts/MetricAlertAtResourceGroupLevel + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Get an alert rule on subscription: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: MetricAlertAtSubscriptionLevel + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertAtSubscriptionLevel + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + patch: + description: Update an metric alert definition. + operationId: MetricAlerts_Update + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: The parameters of the rule to update. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/MetricAlertResourcePatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/MetricAlertResource' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlerts + x-ms-examples: + Create or update an alert rule: + parameters: + api-version: '2018-03-01' + parameters: + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: \Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: {} + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: \Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + put: + description: Create or update an metric alert definition. + operationId: MetricAlerts_CreateOrUpdate + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: The parameters of the rule to create or update. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/MetricAlertResource' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/MetricAlertResource' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlerts + x-ms-examples: + Create or update a dynamic alert rule for Multiple Resources: + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: {} + resourceGroupName: gigtest + ruleName: MetricAlertOnMultipleResources + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Create or update a dynamic alert rule for Single Resource: + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + ignoreDataBefore: '2019-04-04T21:00:00.000Z' + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: {} + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin + location: global + properties: + actions: + - actionGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - alertSensitivity: Medium + criterionType: DynamicThresholdCriterion + dimensions: [] + failingPeriods: + minFailingPeriodsToAlert: 4 + numberOfEvaluationPeriods: 4 + ignoreDataBefore: '2019-04-04T21:00:00.000Z' + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterOrLessThan + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Create or update an alert rule for Multiple Resource: + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: {} + resourceGroupName: gigtest + ruleName: MetricAlertOnMultipleResources + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Create or update an alert rule for Single Resource: + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: \Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: {} + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: \Processor(_Total)\% Processor Time + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: Pt1m + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + severity: 3 + windowSize: Pt15m + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + Create or update an alert rule on Resource group(s): + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: {} + resourceGroupName: gigtest1 + ruleName: MetricAlertAtResourceGroupLevel + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest1/providers/providers/microsoft.insights/metricalerts/MetricAlertAtResourceGroupLevel + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest1 + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest2 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + 'Create or update an alert rule on Subscription ': + parameters: + api-version: '2018-03-01' + parameters: + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: {} + resourceGroupName: gigtest + ruleName: MetricAlertAtSubscriptionLevel + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + id: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertAtSubscriptionLevel + location: global + properties: + actions: + - actionGroupId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2 + webhookProperties: + key11: value11 + key12: value12 + autoMitigate: false + criteria: + allOf: + - criterionType: StaticThresholdCriterion + dimensions: [] + metricName: Percentage CPU + metricNamespace: microsoft.compute/virtualmachines + name: High_CPU_80 + operator: GreaterThan + threshold: 80.5 + timeAggregation: Average + odata.type: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + description: This is the description of the rule1 + enabled: true + evaluationFrequency: PT1M + scopes: + - /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + severity: 3 + targetResourceRegion: southcentralus + targetResourceType: Microsoft.Compute/virtualMachines + windowSize: PT15M + tags: + 'hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest': Resource + type: Microsoft.Insights/metricAlerts + headers: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status': + get: + description: Retrieve an alert rule status. + operationId: MetricAlertsStatus_List + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request for a list of metric alerts + schema: + $ref: '#/definitions/MetricAlertStatusCollection' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlertsStatus + x-ms-examples: + Get an alert rule status: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + ruleName: chiricutin + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + value: + - id: /subscriptions/009f6022-67ec-423e-9aa7-691182870588/resourceGroups/EastUs/providers/microsoft.insights/metricAlerts/LeoAlert_custom1 + name: cmVzb3VyY2VJZD0vc3Vic2NyaXB0aW9ucy8xNGRkZjBjNS03N2M1LTRiNTMtODRmNi1lMWZhNDNhZDY4ZjcvcmVzb3VyY2VHcm91cHMvZ2lndGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2dpZ3dhZG1l + properties: + dimensions: + resourceId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + status: Healthy + timestamp: '2018-01-17T20:17:25.6293237Z' + type: Microsoft.Insights/metricAlerts/status + headers: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status/{statusName}': + get: + description: Retrieve an alert rule status. + operationId: MetricAlertsStatus_ListByName + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/StatusNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request for a list of metric alerts + schema: + $ref: '#/definitions/MetricAlertStatusCollection' + default: + description: BadRequest + schema: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + tags: + - MetricAlertsStatus + x-ms-examples: + Get an alert rule status: + parameters: + api-version: '2018-03-01' + resourceGroupName: EastUs + ruleName: custom1 + statusName: cmVzb3VyY2VJZD0vc3Vic2NyaXB0aW9ucy8xNGRkZjBjNS03N2M1LTRiNTMtODRmNi1lMWZhNDNhZDY4ZjcvcmVzb3VyY2VHcm91cHMvZ2lndGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2dpZ3dhZG1l + subscriptionId: 009f6022-67ec-423e-9aa7-691182870588 + responses: + '200': + body: + value: + - id: /subscriptions/009f6022-67ec-423e-9aa7-691182870588/resourceGroups/EastUs/providers/microsoft.insights/metricAlerts/custom1 + name: cmVzb3VyY2VJZD0vc3Vic2NyaXB0aW9ucy8xNGRkZjBjNS03N2M1LTRiNTMtODRmNi1lMWZhNDNhZDY4ZjcvcmVzb3VyY2VHcm91cHMvZ2lndGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVzL2dpZ3dhZG1l + properties: + dimensions: + resourceId: /subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme + status: Healthy + timestamp: '2018-01-17T20:17:25.6293237Z' + type: Microsoft.Insights/metricAlerts/status + headers: {} +definitions: + DynamicMetricCriteria: + allOf: + - $ref: '#/definitions/MultiMetricCriteria' + description: Criterion for dynamic threshold. + properties: + alertSensitivity: + description: The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. + enum: + - Low + - Medium + - High + x-ms-enum: + modelAsString: true + name: DynamicThresholdSensitivity + failingPeriods: + $ref: '#/definitions/DynamicThresholdFailingPeriods' + description: The minimum number of violations required within the selected lookback time window required to raise an alert. + type: object + ignoreDataBefore: + description: Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) + format: date-time + type: string + operator: + description: The operator used to compare the metric value against the threshold. + enum: + - GreaterThan + - LessThan + - GreaterOrLessThan + x-ms-enum: + modelAsString: true + name: DynamicThresholdOperator + required: + - operator + - alertSensitivity + - failingPeriods + type: object + x-ms-discriminator-value: DynamicThresholdCriterion + DynamicThresholdFailingPeriods: + description: The minimum number of violations required within the selected lookback time window required to raise an alert. + properties: + minFailingPeriodsToAlert: + description: The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. + type: number + numberOfEvaluationPeriods: + description: The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. + type: number + required: + - numberOfEvaluationPeriods + - minFailingPeriodsToAlert + MetricAlertAction: + description: An alert action. + properties: + actionGroupId: + description: the id of the action group to use. + type: string + webhookProperties: + additionalProperties: + description: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. + type: string + description: The properties of a webhook object. + type: object + MetricAlertCriteria: + additionalProperties: + type: object + description: The rule criteria that defines the conditions of the alert rule. + discriminator: odata.type + properties: + odata.type: + description: specifies the type of the alert criteria. + enum: + - Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + - Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + x-ms-enum: + modelAsString: true + name: odatatype + required: + - odata.type + type: object + MetricAlertMultipleResourceMultipleMetricCriteria: + allOf: + - $ref: '#/definitions/MetricAlertCriteria' + description: Specifies the metric alert criteria for multiple resource that has multiple metric criteria. + properties: + allOf: + description: 'the list of multiple metric criteria for this ''all of'' operation. ' + items: + $ref: '#/definitions/MultiMetricCriteria' + type: array + type: object + x-ms-discriminator-value: Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria + MetricAlertProperties: + description: An alert rule. + properties: + actions: + description: 'the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.' + items: + $ref: '#/definitions/MetricAlertAction' + type: array + autoMitigate: + description: the flag that indicates whether the alert should be auto resolved or not. + type: boolean + criteria: + $ref: '#/definitions/MetricAlertCriteria' + description: defines the specific alert criteria information. + description: + description: the description of the metric alert that will be included in the alert email. + type: string + enabled: + description: the flag that indicates whether the metric alert is enabled. + type: boolean + evaluationFrequency: + description: how often the metric alert is evaluated represented in ISO 8601 duration format. + format: duration + type: string + lastUpdatedTime: + description: Last time the rule was updated in ISO8601 format. + format: date-time + readOnly: true + type: string + scopes: + description: the list of resource id's that this metric alert is scoped to. + items: + type: string + type: array + severity: + description: 'Alert severity {0, 1, 2, 3, 4}' + type: integer + targetResourceRegion: + description: the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria. + type: string + targetResourceType: + description: the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria. + type: string + windowSize: + description: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. + format: duration + type: string + required: + - enabled + - description + - severity + - evaluationFrequency + - windowSize + - criteria + MetricAlertResource: + allOf: + - $ref: '#/definitions/Resource' + description: The metric alert resource. + properties: + properties: + $ref: '#/definitions/MetricAlertProperties' + description: The alert rule properties of the resource. + x-ms-client-flatten: true + required: + - properties + type: object + MetricAlertResourceCollection: + description: Represents a collection of alert rule resources. + properties: + value: + description: the values for the alert rule resources. + items: + $ref: '#/definitions/MetricAlertResource' + type: array + MetricAlertResourcePatch: + description: The metric alert resource for patch operations. + properties: + properties: + $ref: '#/definitions/MetricAlertProperties' + description: The alert rule properties of the resource. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + MetricAlertSingleResourceMultipleMetricCriteria: + allOf: + - $ref: '#/definitions/MetricAlertCriteria' + description: Specifies the metric alert criteria for a single resource that has multiple metric criteria. + properties: + allOf: + description: 'The list of metric criteria for this ''all of'' operation. ' + items: + $ref: '#/definitions/MetricCriteria' + type: array + type: object + x-ms-discriminator-value: Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria + MetricAlertStatus: + description: An alert status. + properties: + id: + description: The alert rule arm id. + type: string + name: + description: The status name. + type: string + properties: + $ref: '#/definitions/MetricAlertStatusProperties' + description: The alert status properties of the metric alert status. + x-ms-client-flatten: false + type: + description: The extended resource type name. + type: string + MetricAlertStatusCollection: + description: Represents a collection of alert rule resources. + properties: + value: + description: the values for the alert rule resources. + items: + $ref: '#/definitions/MetricAlertStatus' + type: array + MetricAlertStatusProperties: + description: An alert status properties. + properties: + dimensions: + additionalProperties: + type: string + description: An object describing the type of the dimensions. + type: object + status: + description: status value + type: string + timestamp: + description: UTC time when the status was checked. + format: date-time + type: string + MetricCriteria: + allOf: + - $ref: '#/definitions/MultiMetricCriteria' + description: Criterion to filter metrics. + properties: + operator: + description: the criteria operator. + enum: + - Equals + - NotEquals + - GreaterThan + - GreaterThanOrEqual + - LessThan + - LessThanOrEqual + x-ms-enum: + modelAsString: true + name: Operator + threshold: + description: the criteria threshold value that activates the alert. + format: double + type: number + required: + - operator + - threshold + type: object + x-ms-discriminator-value: StaticThresholdCriterion + MetricDimension: + description: Specifies a metric dimension. + properties: + name: + description: Name of the dimension. + type: string + operator: + description: the dimension operator. Only 'Include' and 'Exclude' are supported + type: string + values: + description: list of dimension values. + items: + type: string + type: array + required: + - name + - operator + - values + MultiMetricCriteria: + additionalProperties: + type: object + description: The types of conditions for a multi resource alert. + discriminator: criterionType + properties: + criterionType: + description: Specifies the type of threshold criteria + enum: + - StaticThresholdCriterion + - DynamicThresholdCriterion + x-ms-enum: + modelAsString: true + name: criterionType + dimensions: + description: List of dimension conditions. + items: + $ref: '#/definitions/MetricDimension' + type: array + metricName: + description: Name of the metric. + type: string + metricNamespace: + description: Namespace of the metric. + type: string + name: + description: Name of the criteria. + type: string + timeAggregation: + description: the criteria time aggregation types. + enum: + - Average + - Minimum + - Maximum + - Total + x-ms-enum: + modelAsString: true + name: AggregationType + required: + - criterionType + - name + - metricName + - timeAggregation + type: object + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricBaselines_API/2019-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricBaselines_API/2019-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..95ce363e50373679e23925e64cca9f7a4363657e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricBaselines_API/2019-03-01/swagger.yaml @@ -0,0 +1,341 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2019-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-metricBaselines_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AggregationsParameter: + description: The list of aggregation types (comma separated) to retrieve. + in: query + name: aggregation + required: false + type: string + x-ms-parameter-location: method + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + BaselineResultTypeParameter: + description: Allows retrieving only metadata of the baseline. On data request all information is retrieved. + enum: + - Data + - Metadata + in: query + name: resultType + required: false + type: string + x-ms-enum: + modelAsString: false + name: ResultType + x-ms-parameter-location: method + IntervalParameter: + description: The interval (i.e. timegrain) of the query. + format: duration + in: query + name: interval + required: false + type: string + x-ms-parameter-location: method + MetricNamesParameter: + description: The names of the metrics (comma separated) to retrieve. + in: query + name: metricnames + required: false + type: string + x-ms-parameter-location: method + MetricNamespaceParameter: + description: Metric namespace to query metric definitions for. + in: query + name: metricnamespace + required: false + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true + SensitivitiesParameter: + description: The list of sensitivities (comma separated) to retrieve. + in: query + name: sensitivities + required: false + type: string + x-ms-parameter-location: method + TimespanParameter: + description: The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. + in: query + name: timespan + required: false + type: string + x-ms-parameter-location: method +paths: + '/{resourceUri}/providers/microsoft.insights/metricBaselines': + get: + description: '**Lists the metric baseline values for a resource**.' + operationId: Baselines_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/MetricNamesParameter' + - $ref: '#/parameters/MetricNamespaceParameter' + - $ref: '#/parameters/TimespanParameter' + - $ref: '#/parameters/IntervalParameter' + - $ref: '#/parameters/AggregationsParameter' + - $ref: '#/parameters/SensitivitiesParameter' + - description: 'The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.' + in: query + name: $filter + required: false + type: string + - $ref: '#/parameters/BaselineResultTypeParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get the list of metric baseline values. + schema: + $ref: '#/definitions/MetricBaselinesResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - Baseline + - Metric + x-ms-examples: + Get metric baselines: + parameters: + aggregation: average + api-version: '2019-03-01' + interval: PT1H + metricName: Percentage Cpu + resourceUri: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1 + sensitivities: 'Low,Medium' + timespan: '2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z' + responses: + '200': + body: + value: + - id: /subscriptions/11aeb0ed-456b-4ca0-8df5-b9fbdc63d0d3/resourceGroups/SmartAnalytics-DEV-VM/providers/Microsoft.Compute/virtualMachines/DemoVM1/providers/microsoft.insights/metricBaselines/Percentage CPU + name: Percentage CPU + properties: + baselines: + - aggregation: average + data: + - highThresholds: + - 90.3453 + - 91.3453 + lowThresholds: + - 30 + - 31.1 + sensitivity: Low + - highThresholds: + - 70.3453 + - 71.3453 + lowThresholds: + - 50 + - 51.1 + sensitivity: Medium + dimensions: [] + metadata: + - name: ErrorType + value: TooManyAnomalies + - name: SeasonalityFrequency + value: '288' + timestamps: + - '2019-03-12T11:00:00.000Z' + - '2019-03-12T12:00:00.000Z' + interval: PT1H + namespace: microsoft.compute/virtualmachines + timespan: '2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z' + type: microsoft.insights/metricBaselines + x-ms-pageable: + nextLinkName: null +definitions: + BaselineMetadata: + description: Represents a baseline metadata value. + properties: + name: + description: Name of the baseline metadata. + type: string + value: + description: Value of the baseline metadata. + type: string + required: + - name + - value + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + MetricBaselinesProperties: + description: The response to a metric baselines query. + properties: + baselines: + description: The baseline for each time series that was queried. + items: + $ref: '#/definitions/TimeSeriesBaseline' + type: array + interval: + description: The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. + format: duration + type: string + namespace: + description: The namespace of the metrics been queried. + type: string + timespan: + description: 'The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by ''/''. This may be adjusted in the future and returned back from what was originally requested.' + type: string + required: + - timespan + - interval + - baselines + type: object + MetricBaselinesResponse: + description: A list of metric baselines. + properties: + value: + description: The list of metric baselines. + items: + $ref: '#/definitions/SingleMetricBaseline' + type: array + MetricSingleDimension: + description: The metric dimension name and value. + properties: + name: + description: Name of the dimension. + type: string + value: + description: Value of the dimension. + type: string + required: + - name + - value + type: object + SingleBaseline: + description: The baseline values for a single sensitivity value. + properties: + highThresholds: + description: The high thresholds of the baseline. + items: + description: A single high threshold value. + format: double + type: number + type: array + lowThresholds: + description: The low thresholds of the baseline. + items: + description: A single low threshold value. + format: double + type: number + type: array + sensitivity: + description: the sensitivity of the baseline. + enum: + - Low + - Medium + - High + type: string + x-ms-enum: + modelAsString: true + name: BaselineSensitivity + required: + - sensitivity + - lowThresholds + - highThresholds + type: object + SingleMetricBaseline: + description: The baseline results of a single metric. + properties: + id: + description: The metric baseline Id. + type: string + name: + description: The name of the metric for which the baselines were retrieved. + type: string + properties: + $ref: '#/definitions/MetricBaselinesProperties' + description: The metric baseline properties of the metric. + x-ms-client-flatten: true + type: + description: The resource type of the metric baseline resource. + type: string + required: + - id + - type + - name + - properties + TimeSeriesBaseline: + description: The baseline values for a single time series. + properties: + aggregation: + description: The aggregation type of the metric. + type: string + data: + description: The baseline values for each sensitivity. + items: + $ref: '#/definitions/SingleBaseline' + type: array + dimensions: + description: The dimensions of this time series. + items: + $ref: '#/definitions/MetricSingleDimension' + type: array + metadata: + description: The baseline metadata values. + items: + $ref: '#/definitions/BaselineMetadata' + type: array + timestamps: + description: The list of timestamps of the baselines. + items: + description: The timestamp for the baseline value in ISO 8601 format. + format: date-time + type: string + type: array + required: + - aggregation + - timestamps + - data diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2016-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2016-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9757f6714c5ba76be98d6e7da5ffd337c6b7017a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2016-03-01/swagger.yaml @@ -0,0 +1,287 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorClient + version: '2016-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: monitor-metricDefinitions_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/metricDefinitions': + get: + description: Lists the metric definitions for the resource. + operationId: MetricDefinitions_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: 'Reduces the set of data collected by retrieving particular metric definitions from all the definitions available for the resource.
For example, to get just the definition for the ''CPU percentage'' counter: $filter=name.value eq ''\Processor(_Total)\% Processor Time''.
Multiple metrics can be retrieved by joining together *''name eq ''* clauses separated by *or* logical operators.
**NOTE**: No other syntax is allowed.' + in: query + name: $filter + required: false + type: string + responses: + '200': + description: Successful request to get the list of metric definitions + examples: + application/json: + value: + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Started + value: RunsStarted + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Completed + value: RunsCompleted + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Succeeded + value: RunsSucceeded + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + schema: + $ref: '#/definitions/MetricDefinitionCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - MetricDefinitions + x-ms-examples: + Get Metric Definitions with filter: + parameters: + $filter: name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded' + api-version: '2016-03-01' + resourceUri: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + value: + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Started + value: RunsStarted + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Succeeded + value: RunsSucceeded + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + Get Metric Definitions without filter: + parameters: + api-version: '2016-03-01' + resourceUri: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + value: + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Started + value: RunsStarted + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Completed + value: RunsCompleted + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + - id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Runs Succeeded + value: RunsSucceeded + primaryAggregationType: Total + resourceId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + unit: Count + x-ms-odata: '#/definitions/MetricDefinition' + x-ms-pageable: + nextLinkName: null +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + MetricAvailability: + description: Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. + properties: + retention: + description: 'the retention period for the metric at the specified timegrain. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + timeGrain: + description: 'the time grain specifies the aggregation interval for the metric. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + MetricDefinition: + description: Metric definition class specifies the metadata for a metric. + properties: + id: + description: the resource identifier of the metric definition. + type: string + metricAvailabilities: + description: the collection of what aggregation intervals are available to be queried. + items: + $ref: '#/definitions/MetricAvailability' + type: array + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is a localizable string.' + primaryAggregationType: + description: the primary aggregation type value defining how to use the values for display. + enum: + - None + - Average + - Count + - Minimum + - Maximum + - Total + type: string + x-ms-enum: + modelAsString: false + name: AggregationType + resourceId: + description: the resource identifier of the resource that emitted the metric. + type: string + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + MetricDefinitionCollection: + description: Represents collection of metric definitions. + properties: + value: + description: the values for the metric definitions. + items: + $ref: '#/definitions/MetricDefinition' + type: array + required: + - value + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2017-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2017-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7438146837bd913171c44082f978535a02de38da --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2017-05-01-preview/swagger.yaml @@ -0,0 +1,490 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: monitor-metricDefinitions_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/metricDefinitions': + get: + description: Lists the metric definitions for the resource. + operationId: MetricDefinitions_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get the list of metric definitions + examples: + application/json: + value: + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: CPU Time + value: CpuTime + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Seconds + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Memory working set + value: MemoryWorkingSet + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Average memory working set + value: AverageMemoryWorkingSet + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + schema: + $ref: '#/definitions/MetricDefinitionCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - MetricDefinitions + x-ms-examples: + Get Metric Definitions without filter: + parameters: + api-version: 2017-05-01-preview + resourceUri: subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions + responses: + '200': + body: + value: + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: CPU Time + value: CpuTime + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Seconds + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Requests + value: Requests + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Data In + value: BytesReceived + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Data Out + value: BytesSent + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101 + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 101 + value: Http101 + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 2xx + value: Http2xx + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 3xx + value: Http3xx + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401 + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 401 + value: Http401 + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403 + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 403 + value: Http403 + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404 + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 404 + value: Http404 + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406 + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 406 + value: Http406 + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http 4xx + value: Http4xx + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Http Server Errors + value: Http5xx + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Memory working set + value: MemoryWorkingSet + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Average memory working set + value: AverageMemoryWorkingSet + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime + isDimensionRequired: false + metricAvailabilities: + - retention: P30D + timeGrain: PT1M + - retention: P30D + timeGrain: PT1H + name: + localizedValue: Average Response Time + value: AverageResponseTime + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + unit: Seconds + x-ms-pageable: + nextLinkName: null +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + MetricAvailability: + description: Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. + properties: + retention: + description: 'the retention period for the metric at the specified timegrain. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + timeGrain: + description: 'the time grain specifies the aggregation interval for the metric. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + MetricDefinition: + description: Metric definition class specifies the metadata for a metric. + properties: + dimensions: + description: 'the name and the display name of the dimension, i.e. it is a localizable string.' + items: + $ref: '#/definitions/LocalizableString' + type: array + id: + description: the resource identifier of the metric definition. + type: string + isDimensionRequired: + description: Flag to indicate whether the dimension is required. + type: boolean + metricAvailabilities: + description: the collection of what aggregation intervals are available to be queried. + items: + $ref: '#/definitions/MetricAvailability' + type: array + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is a localizable string.' + primaryAggregationType: + description: the primary aggregation type value defining how to use the values for display. + enum: + - None + - Average + - Count + - Minimum + - Maximum + - Total + type: string + x-ms-enum: + modelAsString: false + name: AggregationType + resourceId: + description: the resource identifier of the resource that emitted the metric. + type: string + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + MetricDefinitionCollection: + description: Represents collection of metric definitions. + properties: + value: + description: the values for the metric definitions. + items: + $ref: '#/definitions/MetricDefinition' + type: array + required: + - value + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + - ByteSeconds + - Unspecified + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e730c436f9b1324f3f9df431709fb295f147d817 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricDefinitions_API/2018-01-01/swagger.yaml @@ -0,0 +1,783 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: monitor-metricDefinitions_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + MetricNamespaceParameter: + description: Metric namespace to query metric definitions for. + in: query + name: metricnamespace + required: false + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/metricDefinitions': + get: + description: Lists the metric definitions for the resource. + operationId: MetricDefinitions_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/MetricNamespaceParameter' + responses: + '200': + description: Successful request to get the list of metric definitions + schema: + $ref: '#/definitions/MetricDefinitionCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - MetricDefinitions + x-ms-examples: + Get Metric Definitions without filter: + parameters: + api-version: '2018-01-01' + metricnamespace: Microsoft.Web/sites + resourceUri: subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions + responses: + '200': + body: + value: + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: CPU Time + value: CpuTime + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Seconds + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Requests + value: Requests + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Data In + value: BytesReceived + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Data Out + value: BytesSent + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101 + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 101 + value: Http101 + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 2xx + value: Http2xx + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 3xx + value: Http3xx + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401 + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 401 + value: Http401 + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403 + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 403 + value: Http403 + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404 + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 404 + value: Http404 + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406 + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 406 + value: Http406 + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http 4xx + value: Http4xx + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Http Server Errors + value: Http5xx + namespace: Microsoft.Web/sites + primaryAggregationType: Total + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Count + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Memory working set + value: MemoryWorkingSet + namespace: Microsoft.Web/sites + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Average memory working set + value: AverageMemoryWorkingSet + namespace: Microsoft.Web/sites + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Bytes + - dimensions: + - localizedValue: Instance + value: Instance + id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime + isDimensionRequired: false + metricAvailabilities: + - retention: P93D + timeGrain: PT1M + - retention: P93D + timeGrain: PT5M + - retention: P93D + timeGrain: PT15M + - retention: P93D + timeGrain: PT30M + - retention: P93D + timeGrain: PT1H + - retention: P93D + timeGrain: PT6H + - retention: P93D + timeGrain: PT12H + - retention: P93D + timeGrain: P1D + name: + localizedValue: Average Response Time + value: AverageResponseTime + namespace: Microsoft.Web/sites + primaryAggregationType: Average + resourceId: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest + supportedAggregationTypes: + - None + - Average + - Minimum + - Maximum + - Total + - Count + unit: Seconds + x-ms-pageable: + nextLinkName: null +definitions: + AggregationType: + description: the aggregation type of the metric. + enum: + - None + - Average + - Count + - Minimum + - Maximum + - Total + type: string + x-ms-enum: + modelAsString: false + name: AggregationType + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + MetricAvailability: + description: Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. + properties: + retention: + description: 'the retention period for the metric at the specified timegrain. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + timeGrain: + description: 'the time grain specifies the aggregation interval for the metric. Expressed as a duration ''PT1M'', ''P1D'', etc.' + format: duration + type: string + MetricDefinition: + description: Metric definition class specifies the metadata for a metric. + properties: + dimensions: + description: 'the name and the display name of the dimension, i.e. it is a localizable string.' + items: + $ref: '#/definitions/LocalizableString' + type: array + id: + description: the resource identifier of the metric definition. + type: string + isDimensionRequired: + description: Flag to indicate whether the dimension is required. + type: boolean + metricAvailabilities: + description: the collection of what aggregation intervals are available to be queried. + items: + $ref: '#/definitions/MetricAvailability' + type: array + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is a localizable string.' + namespace: + description: the namespace the metric belongs to. + type: string + primaryAggregationType: + $ref: '#/definitions/AggregationType' + description: the primary aggregation type value defining how to use the values for display. + resourceId: + description: the resource identifier of the resource that emitted the metric. + type: string + supportedAggregationTypes: + description: the collection of what aggregation types are supported. + items: + $ref: '#/definitions/AggregationType' + type: array + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + MetricDefinitionCollection: + description: Represents collection of metric definitions. + properties: + value: + description: the values for the metric definitions. + items: + $ref: '#/definitions/MetricDefinition' + type: array + required: + - value + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + - ByteSeconds + - Unspecified + - Cores + - MilliCores + - NanoCores + - BitsPerSecond + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricNamespaces_API/2017-12-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricNamespaces_API/2017-12-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ae5ac329a600eec5148b6cb5b5a79b24244745f9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricNamespaces_API/2017-12-01-preview/swagger.yaml @@ -0,0 +1,139 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-12-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-metricNamespaces_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true + StartTimeParameter: + description: The ISO 8601 conform Date start time from which to query for metric namespaces. + in: query + name: startTime + required: false + type: string + x-ms-parameter-location: method +paths: + '/{resourceUri}/providers/microsoft.insights/metricNamespaces': + get: + description: Lists the metric namespaces for the resource. + operationId: MetricNamespaces_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/StartTimeParameter' + responses: + '200': + description: Successful request to get the list of metric namespaces + schema: + $ref: '#/definitions/MetricNamespaceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - metricNamespaces + x-ms-examples: + Get Metric Namespaces without filter: + parameters: + api-version: 2017-12-01-preview + resourceUri: subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb + startTime: '2018-08-31T15:53:00Z' + responses: + '200': + body: + value: + - id: /subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts + name: Microsoft.DocumentDB-databaseAccounts + properties: + metricNamespaceName: Microsoft.DocumentDB/databaseAccounts + type: Microsoft.Insights/metricNamespaces + x-ms-pageable: + nextLinkName: null +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + MetricNamespace: + description: Metric namespace class specifies the metadata for a metric namespace. + properties: + id: + description: The ID of the metricNamespace. + type: string + name: + description: The name of the namespace. + type: string + properties: + $ref: '#/definitions/MetricNamespaceName' + description: Properties which include the fully qualified namespace name. + type: + description: The type of the namespace. + type: string + type: object + MetricNamespaceCollection: + description: Represents collection of metric namespaces. + properties: + value: + description: The values for the metric namespaces. + items: + $ref: '#/definitions/MetricNamespace' + type: array + required: + - value + MetricNamespaceName: + description: The fully qualified metric namespace name. + properties: + metricNamespaceName: + description: The metric namespace name. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricsCreate_API/2018-09-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricsCreate_API/2018-09-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c0492dd0e4c53393d2963f66bc7d150734c2bf0a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metricsCreate_API/2018-09-01-preview/swagger.yaml @@ -0,0 +1,222 @@ +swagger: '2.0' +schemes: + - https +host: monitoring.azure.com +info: + description: A client for issuing REST requests to the Azure metrics service. + title: Azure Metrics + version: 2018-09-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureMetricsClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-metricsCreate_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json; odata=minimalmetadata +produces: + - application/json +paths: + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics': + post: + consumes: + - application/json + description: '**Post the metric values for a resource**.' + operationId: Metrics_Create + parameters: + - description: Supports application/json and application/x-ndjson + in: header + name: Content-Type + required: true + type: string + - description: Content length of the payload + format: int32 + in: header + name: Content-Length + required: true + type: integer + - description: 'Authorization token issue for issued for audience "https:\\monitoring.azure.com\"' + in: header + name: Authorization + required: true + type: string + - description: The azure subscription id + in: path + name: subscriptionId + required: true + type: string + - description: The ARM resource group name + in: path + name: resourceGroupName + required: true + type: string + - description: The ARM resource provider name + in: path + name: resourceProvider + required: true + type: string + - description: The ARM resource type name + in: path + name: resourceTypeName + required: true + type: string + - description: The ARM resource name + in: path + name: resourceName + required: true + type: string + - description: The Azure metrics document json payload + in: body + name: body + required: true + schema: + $ref: '#/definitions/AzureMetricsDocument' + responses: + '200': + description: The azure metrics publish succeeded + schema: + $ref: '#/definitions/AzureMetricsResult' + default: + description: An unexpected error from the server. See response object for the reason + schema: + $ref: '#/definitions/AzureMetricsResult' + tags: + - Metrics + x-ms-examples: + Post azure metrics for cows sold with related metadata as dimensions: + parameters: + Authorization: 'Bearer {AAD JWT token issued for "https:\\monitoring.azure.com\}"' + Content-Length: 783 + Content-Type: application/json + api-version: 2018-09-01-preview + body: + data: + baseData: + dimNames: + - Breed + - Color + - Age + metric: CowsSold + namespace: Cows + series: + - count: 3 + dimValues: + - Angus + - Blue + - '5' + max: 20 + min: 5 + sum: 30 + time: '2018-08-24T 11:02:00-7:00' + resourceGroupName: CowsSeller + resourceName: cowssellerstore + resourceProvider: Microsoft.Storage + resourceTypeName: storageAccounts + subscriptionId: b7ac8a0c-fbae-4e29-a0f7-09999b8857a1 + responses: + '200': + body: + statusCode: 200 +definitions: + ApiError: + properties: + code: + description: Gets or sets the azure metrics error code + type: string + message: + description: Gets or sets the azure metrics error message + type: string + type: object + ApiFailureResponse: + properties: + error: + $ref: '#/definitions/ApiError' + type: object + AzureMetricsBaseData: + properties: + dimNames: + description: Gets or sets the list of dimension names (optional) + items: + type: string + type: array + metric: + description: Gets or sets the Metric name + type: string + namespace: + description: Gets or sets the Metric namespace + type: string + series: + description: Gets or sets the list of time series data for the metric (one per unique dimension combination) + items: + $ref: '#/definitions/AzureTimeSeriesData' + type: array + required: + - metric + - namespace + - series + type: object + AzureMetricsData: + properties: + baseData: + $ref: '#/definitions/AzureMetricsBaseData' + required: + - baseData + type: object + AzureMetricsDocument: + properties: + data: + $ref: '#/definitions/AzureMetricsData' + time: + description: Gets or sets Time property (in ISO 8601 format) + type: string + required: + - time + - data + type: object + AzureMetricsResult: + properties: + apiFailureResponse: + $ref: '#/definitions/ApiFailureResponse' + statusCode: + description: 'Http status code response ' + format: int32 + type: integer + type: object + AzureTimeSeriesData: + properties: + count: + description: Gets or sets Count value + format: int32 + type: integer + dimValues: + description: Gets or sets dimension values + items: + type: string + type: array + max: + description: Gets or sets Max value + format: double + type: number + min: + description: Gets or sets Min value + format: double + type: number + sum: + description: Gets or sets Sum value + format: double + type: number + required: + - min + - max + - sum + - count + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3727de54f2fb78ee5a543b2fa182c52f8a52bd12 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2016-09-01/swagger.yaml @@ -0,0 +1,261 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: monitor-metrics_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string +paths: + '/{resourceUri}/providers/microsoft.insights/metrics': + get: + description: Lists the metric values for a resource. + operationId: Metrics_List + parameters: + - description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true + - description: 'Reduces the set of data collected.
The filter is optional. If present it must contain a list of metric names to retrieve of the form: *(name.value eq ''metricName'' [or name.value eq ''metricName'' or ...])*. Optionally, the filter can contain conditions for the following attributes *aggregationType*, *startTime*, *endTime*, and *timeGrain* of the form *attributeName operator value*. Where operator is one of *ne*, *eq*, *gt*, *lt*.
Several conditions can be combined with parentheses and logical operators, e.g: *and*, *or*.
Some example filter expressions are:
- $filter=(name.value eq ''RunsSucceeded'') and aggregationType eq ''Total'' and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration''PT1M'',
- $filter=(name.value eq ''RunsSucceeded'') and (aggregationType eq ''Total'' or aggregationType eq ''Average'') and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration''PT1H'',
- $filter=(name.value eq ''ActionsCompleted'' or name.value eq ''RunsSucceeded'') and (aggregationType eq ''Total'' or aggregationType eq ''Average'') and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration''PT1M''.

**NOTE**: When a metrics query comes in with multiple metrics, but with no aggregation types defined, the service will pick the Primary aggregation type of the first metrics to be used as the default aggregation type for all the metrics.' + in: query + name: $filter + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get the list of metric values + examples: + application/json: + value: + - data: + - timeStamp: '2016-11-23T19:14:00Z' + total: 1 + - timeStamp: '2016-11-23T19:15:00Z' + - timeStamp: '2016-11-23T19:16:00Z' + - timeStamp: '2016-11-23T19:17:00Z' + - timeStamp: '2016-11-23T19:18:00Z' + - timeStamp: '2016-11-23T19:19:00Z' + total: 1 + - timeStamp: '2016-11-23T19:20:00Z' + - timeStamp: '2016-11-23T19:21:00Z' + - timeStamp: '2016-11-23T19:22:00Z' + - timeStamp: '2016-11-23T19:23:00Z' + - timeStamp: '2016-11-23T19:24:00Z' + total: 1 + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted + name: + localizedValue: Runs Started + value: RunsStarted + type: Microsoft.Insights/metrics + unit: Count + schema: + $ref: '#/definitions/MetricCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - Metrics + x-ms-examples: + Get Metric with filter: + parameters: + $filter: (name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M' + api-version: '2016-09-01' + resourceUri: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + value: + - data: + - timeStamp: '2016-11-23T19:14:00Z' + total: 1 + - timeStamp: '2016-11-23T19:15:00Z' + - timeStamp: '2016-11-23T19:16:00Z' + - timeStamp: '2016-11-23T19:17:00Z' + - timeStamp: '2016-11-23T19:18:00Z' + - timeStamp: '2016-11-23T19:19:00Z' + total: 1 + - timeStamp: '2016-11-23T19:20:00Z' + - timeStamp: '2016-11-23T19:21:00Z' + - timeStamp: '2016-11-23T19:22:00Z' + - timeStamp: '2016-11-23T19:23:00Z' + - timeStamp: '2016-11-23T19:24:00Z' + total: 1 + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted + name: + localizedValue: Runs Started + value: RunsStarted + type: Microsoft.Insights/metrics + unit: Count + Get Metric without filter: + parameters: + api-version: '2016-09-01' + resourceUri: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia + subscriptionId: df602c9c-7aa0-407d-a6fb-eb20c8bd1192 + responses: + '200': + body: + value: + - data: + - timeStamp: '2016-11-23T19:14:00Z' + total: 1 + - timeStamp: '2016-11-23T19:15:00Z' + - timeStamp: '2016-11-23T19:16:00Z' + - timeStamp: '2016-11-23T19:17:00Z' + - timeStamp: '2016-11-23T19:18:00Z' + - timeStamp: '2016-11-23T19:19:00Z' + total: 1 + - timeStamp: '2016-11-23T19:20:00Z' + - timeStamp: '2016-11-23T19:21:00Z' + - timeStamp: '2016-11-23T19:22:00Z' + - timeStamp: '2016-11-23T19:23:00Z' + - timeStamp: '2016-11-23T19:24:00Z' + total: 1 + id: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted + name: + localizedValue: Runs Started + value: RunsStarted + type: Microsoft.Insights/metrics + unit: Count + x-ms-odata: '#/definitions/Metric' + x-ms-pageable: + nextLinkName: null +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + Metric: + description: A set of metric values in a time range. + properties: + data: + description: Array of data points representing the metric values. + items: + $ref: '#/definitions/MetricValue' + type: array + id: + description: 'the id, resourceId, of the metric.' + type: string + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is localizable string.' + type: + description: the resource type of the metric resource. + type: string + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + required: + - name + - unit + - data + MetricCollection: + description: The collection of metric value sets. + properties: + value: + description: the value of the collection. + items: + $ref: '#/definitions/Metric' + type: array + required: + - value + MetricValue: + description: Represents a metric value. + properties: + average: + description: the average value in the time range. + format: double + type: number + count: + description: the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. + format: int64 + type: integer + maximum: + description: the greatest value in the time range. + format: double + type: number + minimum: + description: the least value in the time range. + format: double + type: number + timeStamp: + description: the timestamp for the metric value in ISO 8601 format. + format: date-time + type: string + total: + description: the sum of all of the values in the time range. + format: double + type: number + required: + - timeStamp + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2017-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2017-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7e1f0a03e02a9dd4034ba47281583463fa69bb9f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2017-05-01-preview/swagger.yaml @@ -0,0 +1,408 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: monitor-metrics_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AggregationsParameter: + description: The list of aggregation types (comma separated) to retrieve. + in: query + name: aggregation + required: false + type: string + x-ms-parameter-location: method + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + IntervalParameter: + description: The interval (i.e. timegrain) of the query. + format: duration + in: query + name: interval + required: false + type: string + x-ms-parameter-location: method + MetricParameter: + description: The name of the metric to retrieve. + in: query + name: metric + required: false + type: string + x-ms-parameter-location: method + OrderByParameter: + description: |- + The aggregation to use for sorting results and the direction of the sort. + Only one order can be specified. + Examples: sum asc. + in: query + name: $orderby + required: false + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true + ResultTypeParameter: + description: Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. + enum: + - Data + - Metadata + in: query + name: resultType + required: false + type: string + x-ms-enum: + modelAsString: false + name: ResultType + x-ms-parameter-location: method + TimespanParameter: + description: The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. + in: query + name: timespan + required: false + type: string + x-ms-parameter-location: method + TopParameter: + description: |- + The maximum number of records to retrieve. + Valid only if $filter is specified. + Defaults to 10. + format: int32 + in: query + name: $top + required: false + type: number + x-ms-parameter-location: method +paths: + '/{resourceUri}/providers/microsoft.insights/metrics': + get: + description: '**Lists the metric values for a resource**.' + operationId: Metrics_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/TimespanParameter' + - $ref: '#/parameters/IntervalParameter' + - $ref: '#/parameters/MetricParameter' + - $ref: '#/parameters/AggregationsParameter' + - $ref: '#/parameters/TopParameter' + - $ref: '#/parameters/OrderByParameter' + - description: 'The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.' + in: query + name: $filter + required: false + type: string + - $ref: '#/parameters/ResultTypeParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get the list of metric values. + examples: + application/json: + cost: 0 + interval: PT1M + timespan: '2017-08-10T21:44:34Z/2017-08-10T22:44:34Z' + value: + - id: /subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/Microsoft.Insights/metrics/CpuTime + name: + localizedValue: CPU Time + value: CpuTime + timeseries: + - data: + - timeStamp: '2017-08-10T21:44:00Z' + total: 0 + - timeStamp: '2017-08-10T21:45:00Z' + total: 0 + - timeStamp: '2017-08-10T21:46:00Z' + total: 0 + - timeStamp: '2017-08-10T21:47:00Z' + total: 0 + - timeStamp: '2017-08-10T21:48:00Z' + total: 0 + - timeStamp: '2017-08-10T21:49:00Z' + total: 0 + - timeStamp: '2017-08-10T21:50:00Z' + total: 0 + metadatavalues: [] + type: Microsoft.Insights/metrics + unit: Seconds + schema: + $ref: '#/definitions/Response' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - Metrics + x-ms-examples: + Get Metric for data: + parameters: + $filter: BlobType eq '*' + aggregation: 'Average,count' + api-version: 2017-05-01-preview + interval: PT1M + metric: BlobCapacity + orderby: Average asc + resourceUri: subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + top: '3' + responses: + '200': + body: + cost: 0 + interval: PT1M + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + value: + - id: /subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity + name: + localizedValue: Blob Capacity + value: BlobCapacity + timeseries: + - data: + - count: 0 + timeStamp: '2017-04-14T02:20:00Z' + - count: 0 + timeStamp: '2017-04-14T02:21:00Z' + - count: 0 + timeStamp: '2017-04-14T02:22:00Z' + - average: 0 + count: 1 + timeStamp: '2017-04-14T02:23:00Z' + metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: PageBlob + - data: + - count: 0 + timeStamp: '2017-04-14T02:20:00Z' + - count: 0 + timeStamp: '2017-04-14T02:21:00Z' + - count: 0 + timeStamp: '2017-04-14T02:22:00Z' + - average: 245 + count: 1 + timeStamp: '2017-04-14T02:23:00Z' + metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: BlockBlob + type: Microsoft.Insights/metrics + unit: Bytes + Get Metric for metadata: + parameters: + $filter: BlobType eq '*' + aggregation: 'Average,count' + api-version: 2017-05-01-preview + interval: PT1M + metric: BlobCapacity + orderby: Average asc + resourceUri: subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default + resulttype: metadata + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + top: '3' + responses: + '200': + body: + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + value: + - id: /subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity + name: + localizedValue: Blob Capacity + value: BlobCapacity + timeseries: + - metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: BlockBlob + - metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: PageBlob + type: Microsoft.Insights/metrics + unit: Bytes + x-ms-odata: '#/definitions/MetadataValue' +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + MetadataValue: + description: Represents a metric metadata value. + properties: + name: + $ref: '#/definitions/LocalizableString' + description: the name of the metadata. + value: + description: the value of the metadata. + type: string + Metric: + description: The result data of a query. + properties: + id: + description: the metric Id. + type: string + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is localizable string.' + timeseries: + description: the time series returned when a data query is performed. + items: + $ref: '#/definitions/TimeSeriesElement' + type: array + type: + description: the resource type of the metric resource. + type: string + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + required: + - id + - type + - name + - unit + - timeseries + type: object + MetricValue: + description: Represents a metric value. + properties: + average: + description: the average value in the time range. + format: double + type: number + count: + description: the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. + format: int64 + type: integer + maximum: + description: the greatest value in the time range. + format: double + type: number + minimum: + description: the least value in the time range. + format: double + type: number + timeStamp: + description: the timestamp for the metric value in ISO 8601 format. + format: date-time + type: string + total: + description: the sum of all of the values in the time range. + format: double + type: number + required: + - timeStamp + Response: + description: The response to a metrics query. + properties: + cost: + description: 'The integer value representing the cost of the query, for data case.' + format: int32 + minimum: 0 + type: number + interval: + description: The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. + format: duration + type: string + timespan: + description: 'The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by ''/''. This may be adjusted in the future and returned back from what was originally requested.' + type: string + value: + description: the value of the collection. + items: + $ref: '#/definitions/Metric' + type: array + required: + - timespan + - value + type: object + TimeSeriesElement: + description: A time series result type. The discriminator value is always TimeSeries in this case. + properties: + data: + description: An array of data points representing the metric values. This is only returned if a result type of data is specified. + items: + $ref: '#/definitions/MetricValue' + type: array + metadatavalues: + description: the metadata values returned if $filter was specified in the call. + items: + $ref: '#/definitions/MetadataValue' + type: array + type: object + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + - ByteSeconds + - Unspecified + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3f28a4a18f2a751bd6715c80e890e2979e9ebfd3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-metrics_API/2018-01-01/swagger.yaml @@ -0,0 +1,403 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: monitor-metrics_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AggregationsParameter: + description: The list of aggregation types (comma separated) to retrieve. + in: query + name: aggregation + required: false + type: string + x-ms-parameter-location: method + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + IntervalParameter: + description: The interval (i.e. timegrain) of the query. + format: duration + in: query + name: interval + required: false + type: string + x-ms-parameter-location: method + MetricNamesParameter: + description: The names of the metrics (comma separated) to retrieve. + in: query + name: metricnames + required: false + type: string + x-ms-parameter-location: method + MetricNamespaceParameter: + description: Metric namespace to query metric definitions for. + in: query + name: metricnamespace + required: false + type: string + x-ms-parameter-location: method + OrderByParameter: + description: |- + The aggregation to use for sorting results and the direction of the sort. + Only one order can be specified. + Examples: sum asc. + in: query + name: orderby + required: false + type: string + x-ms-parameter-location: method + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true + ResultTypeParameter: + description: Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. + enum: + - Data + - Metadata + in: query + name: resultType + required: false + type: string + x-ms-enum: + modelAsString: false + name: ResultType + x-ms-parameter-location: method + TimespanParameter: + description: The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. + in: query + name: timespan + required: false + type: string + x-ms-parameter-location: method + TopParameter: + description: |- + The maximum number of records to retrieve. + Valid only if $filter is specified. + Defaults to 10. + format: int32 + in: query + name: top + required: false + type: integer + x-ms-parameter-location: method +paths: + '/{resourceUri}/providers/microsoft.insights/metrics': + get: + description: '**Lists the metric values for a resource**.' + operationId: Metrics_List + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/TimespanParameter' + - $ref: '#/parameters/IntervalParameter' + - $ref: '#/parameters/MetricNamesParameter' + - $ref: '#/parameters/AggregationsParameter' + - $ref: '#/parameters/TopParameter' + - $ref: '#/parameters/OrderByParameter' + - description: 'The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.' + in: query + name: $filter + required: false + type: string + - $ref: '#/parameters/ResultTypeParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/MetricNamespaceParameter' + responses: + '200': + description: Successful request to get the list of metric values. + schema: + $ref: '#/definitions/Response' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - Metrics + x-ms-examples: + Get Metric for data: + parameters: + $filter: BlobType eq '*' + aggregation: 'Average,count' + api-version: '2018-01-01' + interval: PT1M + metric: BlobCapacity + metricnamespace: Microsoft.Storage/storageAccounts/blobServices + orderby: Average asc + resourceUri: subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + top: 3 + responses: + '200': + body: + cost: 0 + interval: PT1M + namespace: Microsoft.Storage/storageAccounts/blobServices + resourceregion: eastus2 + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + value: + - id: /subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity + name: + localizedValue: Blob Capacity + value: BlobCapacity + timeseries: + - data: + - count: 0 + timeStamp: '2017-04-14T02:20:00Z' + - count: 0 + timeStamp: '2017-04-14T02:21:00Z' + - count: 0 + timeStamp: '2017-04-14T02:22:00Z' + - average: 0 + count: 1 + timeStamp: '2017-04-14T02:23:00Z' + metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: PageBlob + - data: + - count: 0 + timeStamp: '2017-04-14T02:20:00Z' + - count: 0 + timeStamp: '2017-04-14T02:21:00Z' + - count: 0 + timeStamp: '2017-04-14T02:22:00Z' + - average: 245 + count: 1 + timeStamp: '2017-04-14T02:23:00Z' + metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: BlockBlob + type: Microsoft.Insights/metrics + unit: Bytes + Get Metric for metadata: + parameters: + $filter: BlobType eq '*' + aggregation: 'Average,count' + api-version: '2018-01-01' + interval: PT1M + metric: BlobCapacity + metricnamespace: Microsoft.Storage/storageAccounts/blobServices + orderby: Average asc + resourceUri: subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default + resulttype: metadata + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + top: 3 + responses: + '200': + body: + namespace: Microsoft.Storage/storageAccounts/blobServices + resourceregion: eastus2 + timespan: '2017-04-14T02:20:00Z/2017-04-14T04:20:00Z' + value: + - id: /subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity + name: + localizedValue: Blob Capacity + value: BlobCapacity + timeseries: + - metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: BlockBlob + - metadatavalues: + - name: + localizedValue: blobtype + value: blobtype + value: PageBlob + type: Microsoft.Insights/metrics + unit: Bytes + x-ms-odata: '#/definitions/MetadataValue' +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + MetadataValue: + description: Represents a metric metadata value. + properties: + name: + $ref: '#/definitions/LocalizableString' + description: the name of the metadata. + value: + description: the value of the metadata. + type: string + Metric: + description: The result data of a query. + properties: + id: + description: the metric Id. + type: string + name: + $ref: '#/definitions/LocalizableString' + description: 'the name and the display name of the metric, i.e. it is localizable string.' + timeseries: + description: the time series returned when a data query is performed. + items: + $ref: '#/definitions/TimeSeriesElement' + type: array + type: + description: the resource type of the metric resource. + type: string + unit: + $ref: '#/definitions/Unit' + description: the unit of the metric. + required: + - id + - type + - name + - unit + - timeseries + type: object + MetricValue: + description: Represents a metric value. + properties: + average: + description: the average value in the time range. + format: double + type: number + count: + description: the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. + format: double + type: number + maximum: + description: the greatest value in the time range. + format: double + type: number + minimum: + description: the least value in the time range. + format: double + type: number + timeStamp: + description: the timestamp for the metric value in ISO 8601 format. + format: date-time + type: string + total: + description: the sum of all of the values in the time range. + format: double + type: number + required: + - timeStamp + Response: + description: The response to a metrics query. + properties: + cost: + description: 'The integer value representing the cost of the query, for data case.' + format: int32 + minimum: 0 + type: number + interval: + description: The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. + format: duration + type: string + namespace: + description: The namespace of the metrics been queried + type: string + resourceregion: + description: The region of the resource been queried for metrics. + type: string + timespan: + description: 'The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by ''/''. This may be adjusted in the future and returned back from what was originally requested.' + type: string + value: + description: the value of the collection. + items: + $ref: '#/definitions/Metric' + type: array + required: + - timespan + - value + type: object + TimeSeriesElement: + description: A time series result type. The discriminator value is always TimeSeries in this case. + properties: + data: + description: An array of data points representing the metric values. This is only returned if a result type of data is specified. + items: + $ref: '#/definitions/MetricValue' + type: array + metadatavalues: + description: the metadata values returned if $filter was specified in the call. + items: + $ref: '#/definitions/MetadataValue' + type: array + type: object + Unit: + description: the unit of the metric. + enum: + - Count + - Bytes + - Seconds + - CountPerSecond + - BytesPerSecond + - Percent + - MilliSeconds + - ByteSeconds + - Unspecified + - Cores + - MilliCores + - NanoCores + - BitsPerSecond + type: string + x-ms-enum: + modelAsString: false + name: Unit diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-operations_API/2015-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-operations_API/2015-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..31f9cf02fed5fb164e2f97a8be684a2e5f88d523 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-operations_API/2015-04-01/swagger.yaml @@ -0,0 +1,342 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2015-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-operations_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string +paths: + /providers/microsoft.insights/operations: + get: + description: Lists all of the available operations from Microsoft.Insights provider. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + tags: + - Operations + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2015-04-01' + responses: + '200': + body: + value: + - display: + operation: Operations read + provider: Microsoft Monitoring Insights + resource: Operations + name: Microsoft.Insights/Operations/Read + - display: + operation: Metric definitions read + provider: Microsoft Monitoring Insights + resource: Metric Definitions + name: Microsoft.Insights/MetricDefinitions/Read + - display: + operation: Metrics read + provider: Microsoft Monitoring Insights + resource: Metrics + name: Microsoft.Insights/Metrics/Read + - display: + operation: Alert Rule write + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Write + - display: + operation: Alert Rule delete + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Delete + - display: + operation: Alert Rule read + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Read + - display: + operation: Metric alert write + provider: Microsoft Monitoring Insights + resource: Metric alerts + name: Microsoft.Insights/MetricAlerts/Write + - display: + operation: Metric alert delete + provider: Microsoft Monitoring Insights + resource: Metric alerts + name: Microsoft.Insights/MetricAlerts/Delete + - display: + operation: Metric alert read + provider: Microsoft Monitoring Insights + resource: Metric alerts + name: Microsoft.Insights/MetricAlerts/Read + - display: + operation: Autoscale Setting write + provider: Microsoft Monitoring Insights + resource: Autoscale + name: Microsoft.Insights/AutoscaleSettings/Write + - display: + operation: Autoscale Setting delete + provider: Microsoft Monitoring Insights + resource: Autoscale + name: Microsoft.Insights/AutoscaleSettings/Delete + - display: + operation: Autoscale Setting read + provider: Microsoft Monitoring Insights + resource: Autoscale + name: Microsoft.Insights/AutoscaleSettings/Read + - display: + operation: Alert Rule Incidents read + provider: Microsoft Monitoring Insights + resource: Alert Rule Incident resource + name: Microsoft.Insights/AlertRules/Incidents/Read + - display: + operation: Metric definitions read + provider: Microsoft Monitoring Insights + resource: Metric Definitions + name: Microsoft.Insights/AutoscaleSettings/providers/Microsoft.Insights/MetricDefinitions/Read + - display: + operation: Action group write + provider: Microsoft Monitoring Insights + resource: Action groups + name: Microsoft.Insights/ActionGroups/Write + - display: + operation: Action group delete + provider: Microsoft Monitoring Insights + resource: Action groups + name: Microsoft.Insights/ActionGroups/Delete + - display: + operation: Action group read + provider: Microsoft Monitoring Insights + resource: Action groups + name: Microsoft.Insights/ActionGroups/Read + - display: + operation: Activity log alert read + provider: Microsoft Monitoring Insights + resource: Activity log alert + name: Microsoft.Insights/ActivityLogAlerts/Write + - display: + operation: Activity log alert delete + provider: Microsoft Monitoring Insights + resource: Activity log alert + name: Microsoft.Insights/ActivityLogAlerts/Delete + - display: + operation: Activity log alert read + provider: Microsoft Monitoring Insights + resource: Activity log alert + name: Microsoft.Insights/ActivityLogAlerts/Read + - display: + operation: Activity Log Alert Activated + provider: Microsoft Monitoring Insights + resource: Activity Log Alert + name: Microsoft.Insights/ActivityLogAlerts/Activated/Action + - display: + operation: Event category read + provider: Microsoft Monitoring Insights + resource: Event category + name: Microsoft.Insights/EventCategories/Read + - display: + operation: Event types management values read + provider: Microsoft Monitoring Insights + resource: Events + name: Microsoft.Insights/eventtypes/values/Read + - display: + operation: Event types management digest read + provider: Microsoft Monitoring Insights + resource: Digest events + name: Microsoft.Insights/eventtypes/digestevents/Read + - display: + operation: Diagnostic settings write + provider: Microsoft Monitoring Insights + resource: Diagnostic settings + name: Microsoft.Insights/DiagnosticSettings/Write + - display: + operation: Diagnostic settings delete + provider: Microsoft Monitoring Insights + resource: Diagnostic settings + name: Microsoft.Insights/DiagnosticSettings/Delete + - display: + operation: Diagnostic settings read + provider: Microsoft Monitoring Insights + resource: Diagnostic settings + name: Microsoft.Insights/DiagnosticSettings/Read + - display: + operation: Extended Diagnostic settings write + provider: Microsoft Monitoring Insights + resource: Extended Diagnostic settings + name: Microsoft.Insights/ExtendedDiagnosticSettings/Write + - display: + operation: Extended Diagnostic settings delete + provider: Microsoft Monitoring Insights + resource: Extended Diagnostic settings + name: Microsoft.Insights/ExtendedDiagnosticSettings/Delete + - display: + operation: Extended Diagnostic settings read + provider: Microsoft Monitoring Insights + resource: Extended Diagnostic settings + name: Microsoft.Insights/ExtendedDiagnosticSettings/Read + - display: + operation: Log profile write + provider: Microsoft Monitoring Insights + resource: Log Profiles + name: Microsoft.Insights/LogProfiles/Write + - display: + operation: Log profile delete + provider: Microsoft Monitoring Insights + resource: Log Profiles + name: Microsoft.Insights/LogProfiles/Delete + - display: + operation: Log profile read + provider: Microsoft Monitoring Insights + resource: Log Profiles + name: Microsoft.Insights/LogProfiles/Read + - display: + operation: Log Definitions read + provider: Microsoft Monitoring Insights + resource: Log Definitions + name: Microsoft.Insights/LogDefinitions/Read + - display: + operation: Autoscale scale up operation + provider: Microsoft Monitoring Insights + resource: Autoscale + name: Microsoft.Insights/AutoscaleSettings/Scaleup/Action + - display: + operation: Autoscale scale down operation + provider: Microsoft Monitoring Insights + resource: Autoscale + name: Microsoft.Insights/AutoscaleSettings/Scaledown/Action + - display: + operation: Alert Rule activated + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Activated/Action + - display: + operation: Alert Rule resolved + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Resolved/Action + - display: + operation: Alert Rule throttled + provider: Microsoft Monitoring Insights + resource: Alert Rules + name: Microsoft.Insights/AlertRules/Throttled/Action + - display: + operation: Register Microsoft.Insights + provider: Microsoft Monitoring Insights + resource: Microsoft.Insights + name: Microsoft.Insights/Register/Action + - display: + operation: Application insights component write + provider: Microsoft Monitoring Insights + resource: Application insights components + name: Microsoft.Insights/Components/Write + - display: + operation: Application insights component delete + provider: Microsoft Monitoring Insights + resource: Application insights components + name: Microsoft.Insights/Components/Delete + - display: + operation: Application insights component read + provider: Microsoft Monitoring Insights + resource: Application insights components + name: Microsoft.Insights/Components/Read + - display: + operation: Webtest write + provider: Microsoft Monitoring Insights + resource: Web tests + name: Microsoft.Insights/Webtests/Write + - display: + operation: Webtest delete + provider: Microsoft Monitoring Insights + resource: Web tests + name: Microsoft.Insights/Webtests/Delete + - display: + operation: Workbooks read + provider: Microsoft Application Insights + resource: Workbooks + name: Microsoft.Insights/Workbooks/Read + - display: + operation: Workbooks write + provider: Microsoft Application Insights + resource: Workbooks + name: Microsoft.Insights/Workbooks/Write + - display: + operation: Workbooks delete + provider: Microsoft Application Insights + resource: Workbooks + name: Microsoft.Insights/Workbooks/Delete + - display: + operation: Workbooks read + provider: Microsoft Application Insights + resource: Workbooks + name: Microsoft.Insights/Workbooks/Read +definitions: + Operation: + description: Microsoft Insights API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + operation: + description: 'Operation type: Read, write, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft.Insights' + type: string + resource: + description: 'Resource on which the operation is performed: AlertRules, Autoscale, etc.' + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + type: object + OperationListResult: + description: Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of operations supported by the Microsoft.Insights provider. + items: + $ref: '#/definitions/Operation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-privateLinkScopes_API/2019-10-17-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-privateLinkScopes_API/2019-10-17-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a46e5248173ca2054fd009183f4112d52b10aa6f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-privateLinkScopes_API/2019-10-17-preview/swagger.yaml @@ -0,0 +1,1303 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Azure Monitor API reference for Private Links Scopes management. + title: Azure Monitor Private Link Scopes + version: 2019-10-17-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-privateLinkScopes_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + GroupNameParameter: + description: The name of the private link resource. + in: path + name: groupName + required: true + type: string + x-ms-parameter-location: method + ResourceNameParameter: + description: The name of the Azure Monitor PrivateLinkScope resource. + in: path + name: scopeName + required: true + type: string + x-ms-parameter-location: method +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes': + get: + description: Gets a list of all Azure Monitor PrivateLinkScopes within a subscription. + operationId: PrivateLinkScopes_List + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + responses: + '200': + description: A list containing 0 or more Azure Monitor PrivateLinkScope definitions. + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScopeListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopesList.json: + parameters: + api-version: 2019-10-17-preview + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': + body: + nextLink: null + value: + - id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + - id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/microsoft.insights/privateLinkScopes/my-other-privatelinkscope + location: Global + name: my-other-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections': + get: + description: Gets all private endpoint connections on a private link scope. + operationId: PrivateEndpointConnections_ListByPrivateLinkScope + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + responses: + '200': + description: Successfully retrieved private endpoint connections. + schema: + $ref: '#/definitions/PrivateEndpointConnectionListResult' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets list of private endpoint connections on a private link scope.: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/privateEndpointConnections + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name-2 + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2 + privateLinkServiceConnectionState: + actionsRequired: None + description: Please approve my connection. + status: Pending + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/privateEndpointConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}': + delete: + description: Deletes a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_Delete + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the private endpoint connection. + in: path + name: privateEndpointConnectionName + required: true + type: string + responses: + '200': + description: Successfully deleted private endpoint connection. + '202': + description: Accepted + '204': + description: Private endpoint connection does not exist. + tags: + - PrivateEndpointConnections + x-ms-examples: + Deletes a private endpoint connection with a given name.: + parameters: + api-version: 2019-10-17-preview + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a private endpoint connection. + operationId: PrivateEndpointConnections_Get + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the private endpoint connection. + in: path + name: privateEndpointConnectionName + required: true + type: string + responses: + '200': + description: Successfully retrieved a specified private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets private endpoint connection.: + parameters: + api-version: 2019-10-17-preview + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/privateEndpointConnections + put: + description: Approve or reject a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_CreateOrUpdate + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the private endpoint connection. + in: path + name: privateEndpointConnectionName + required: true + type: string + - in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + responses: + '200': + description: Successfully approved or rejected private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + '202': + description: Accepted + tags: + - PrivateEndpointConnections + x-ms-examples: + Approve or reject a private endpoint connection with a given name.: + parameters: + api-version: 2019-10-17-preview + parameters: + properties: + privateLinkServiceConnectionState: + description: Approved by johndoe@contoso.com + status: Approved + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Approved by johndoe@contoso.com + status: Approved + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/privateEndpointConnections + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources': + get: + description: Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + operationId: PrivateLinkResources_ListByPrivateLinkScope + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + responses: + '200': + description: Successfully retrieved private link resources. + schema: + $ref: '#/definitions/PrivateLinkResourceListResult' + tags: + - PrivateLinkResources + x-ms-examples: + Gets private endpoint connection.: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + nextLink: null + value: + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor + name: azuremonitor + properties: + groupId: azuremonitor + requiredMembers: + - draft + - breeze + - livemetrics + - snapshotdebugger + - profiler + - oms-12300000-1111-2222-3333-444444444444 + - ods-12300000-1111-2222-3333-444444444444 + - agent-12300000-1111-2222-3333-444444444444 + type: Microsoft.Insights/privateLinkScopes/privateLinkResources + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}': + get: + description: Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope. + operationId: PrivateLinkResources_Get + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - $ref: '#/parameters/GroupNameParameter' + responses: + '200': + description: Successfully retrieved a specified private link resource. + schema: + $ref: '#/definitions/PrivateLinkResource' + tags: + - PrivateLinkResources + x-ms-examples: + Gets private endpoint connection.: + parameters: + api-version: 2019-10-17-preview + groupName: azuremonitor + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor + name: azuremonitor + properties: + groupId: azuremonitor + requiredMembers: + - draft + - breeze + - livemetrics + - snapshotdebugger + - profiler + - oms-12300000-1111-2222-3333-444444444444 + - ods-12300000-1111-2222-3333-444444444444 + - agent-12300000-1111-2222-3333-444444444444 + type: Microsoft.Insights/privateLinkScopes/privateLinkResources + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources': + get: + description: Gets all private endpoint connections on a private link scope. + operationId: PrivateLinkScopedResources_ListByPrivateLinkScope + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + responses: + '200': + description: Successfully retrieved scoped resources in a private link scope. + schema: + $ref: '#/definitions/ScopedResourceListResult' + tags: + - PrivateLinkScopedResources + x-ms-examples: + Gets list of scoped resources in a private link scope.: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name + name: scoped-resource-name + properties: + linkedResourceId: /subscriptions/00000000-0000-2222-3333-444444444444/resourceGroups/MyComponentResourceGroup/providers/Microsoft.Insights/components/my-component + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/scopedResources + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/other-scoped-resource-name + name: other-scoped-resource-name + properties: + linkedResourceId: /subscriptions/00000000-3333-2222-5555-444444444444/resourceGroups/MyWorkspaceResourceGroup/providers/Microsoft.OperationalInsights/workspaces/my-workspace + provisioningState: Provisioning + type: Microsoft.Insights/privateLinkScopes/scopedResources + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}': + delete: + description: Deletes a private endpoint connection with a given name. + operationId: PrivateLinkScopedResources_Delete + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the scoped resource object. + in: path + name: name + required: true + type: string + responses: + '200': + description: Successfully deleted scoped resource. + '202': + description: Accepted + '204': + description: Scoped resource does not exist. + tags: + - PrivateLinkScopedResources + x-ms-examples: + Deletes a scoped resource with a given name.: + parameters: + api-version: 2019-10-17-preview + name: scoped-resource-name + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a scoped resource in a private link scope. + operationId: PrivateLinkScopedResources_Get + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the scoped resource object. + in: path + name: name + required: true + type: string + responses: + '200': + description: Successfully retrieved a scoped resource in a private link scope. + schema: + $ref: '#/definitions/ScopedResource' + tags: + - PrivateLinkScopedResources + x-ms-examples: + Gets private link scoped resource.: + parameters: + api-version: 2019-10-17-preview + name: scoped-resource-name + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name + name: scoped-resource-name + properties: + linkedResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/scopedResources + put: + description: Approve or reject a private endpoint connection with a given name. + operationId: PrivateLinkScopedResources_CreateOrUpdate + parameters: + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: Name of the Azure Monitor PrivateLinkScope that will contain the datasource + in: path + name: scopeName + required: true + type: string + - description: The name of the scoped resource object. + in: path + name: name + required: true + type: string + - in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ScopedResource' + responses: + '200': + description: Successfully scoped azure monitor resource in a private link scope. + schema: + $ref: '#/definitions/ScopedResource' + '202': + description: Accepted + tags: + - PrivateLinkScopedResources + x-ms-examples: + Update a scoped resource in a private link scope.: + parameters: + api-version: 2019-10-17-preview + name: scoped-resource-name + parameters: + properties: + linkedResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component + resourceGroupName: MyResourceGroup + scopeName: MyPrivateLinkScope + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name + name: scoped-resource-name + properties: + linkedResourceId: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component + provisioningState: Succeeded + type: Microsoft.Insights/privateLinkScopes/scopedResources + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes': + get: + description: Gets a list of Azure Monitor PrivateLinkScopes within a resource group. + operationId: PrivateLinkScopes_ListByResourceGroup + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + responses: + '200': + description: A list containing 0 or more Azure Monitor PrivateLinkScope definitions. + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScopeListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopeListByResourceGroup: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': + body: + nextLink: null + value: + - id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + - id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-other-privatelinkscope + location: Global + name: my-other-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}': + delete: + description: Deletes a Azure Monitor PrivateLinkScope. + operationId: PrivateLinkScopes_Delete + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/ResourceNameParameter' + responses: + '200': + description: Successful request when deleting a Azure Monitor PrivateLinkScope. + '202': + description: Accepted. + '204': + description: The specified PrivateLinkScope does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopesDelete: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + scopeName: my-privatelinkscope + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Returns a Azure Monitor PrivateLinkScope. + operationId: PrivateLinkScopes_Get + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/ResourceNameParameter' + responses: + '200': + description: An Azure Monitor PrivateLinkScope definition. + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScope' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopeGet: + parameters: + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + scopeName: my-privatelinkscope + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': + body: + id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + patch: + description: Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. + operationId: PrivateLinkScopes_UpdateTags + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/ResourceNameParameter' + - description: Updated tag information to set into the PrivateLinkScope instance. + in: body + name: PrivateLinkScopeTags + required: true + schema: + $ref: '#/definitions/TagsResource' + responses: + '200': + description: Updating the Azure Monitor PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties. + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScope' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopeUpdateTagsOnly: + parameters: + PrivateLinkScopeTags: + tags: + Tag1: Value1 + Tag2: Value2 + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + scopeName: my-privatelinkscope + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: + Tag1: Value1 + Tag2: Value2 + type: Microsoft.Insights/privateLinkScopes + put: + description: 'Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.' + operationId: PrivateLinkScopes_CreateOrUpdate + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/ResourceNameParameter' + - description: Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope. + in: body + name: AzureMonitorPrivateLinkScopePayload + required: true + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScope' + responses: + '200': + description: Successful request when creating or updating a Azure Monitor PrivateLinkScope. The updated PrivateLinkScope is returned. + schema: + $ref: '#/definitions/AzureMonitorPrivateLinkScope' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + PrivateLinkScopeCreate: + parameters: + AzureMonitorPrivateLinkScopePayload: + location: Global + properties: {} + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + scopeName: my-privatelinkscope + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': + body: + id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Insights/privateLinkScopes + PrivateLinkScopeUpdate: + parameters: + AzureMonitorPrivateLinkScopePayload: + location: Global + properties: {} + tags: + Tag1: Value1 + api-version: 2019-10-17-preview + resourceGroupName: my-resource-group + scopeName: my-privatelinkscope + subscriptionId: 86dc51d3-92ed-4d7e-947a-775ea79b4919 + responses: + '200': + body: + id: /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope + location: Global + name: my-privatelinkscope + properties: + provisioningState: Succeeded + tags: + Tag1: Value1 + type: Microsoft.Insights/privateLinkScopes +definitions: + AzureMonitorPrivateLinkScope: + allOf: + - $ref: '#/definitions/PrivateLinkScopesResource' + description: An Azure Monitor PrivateLinkScope definition. + properties: + properties: + $ref: '#/definitions/AzureMonitorPrivateLinkScopeProperties' + description: Properties that define a Azure Monitor PrivateLinkScope resource. + x-ms-client-flatten: true + required: + - properties + AzureMonitorPrivateLinkScopeListResult: + description: Describes the list of Azure Monitor PrivateLinkScope resources. + properties: + nextLink: + description: The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set. + type: string + value: + description: List of Azure Monitor PrivateLinkScope definitions. + items: + $ref: '#/definitions/AzureMonitorPrivateLinkScope' + type: array + required: + - value + AzureMonitorPrivateLinkScopeProperties: + description: Properties that define a Azure Monitor PrivateLinkScope resource. + properties: + provisioningState: + description: 'Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.' + readOnly: true + type: string + ErrorResponse: + description: Describe the format of an Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + PrivateEndpointConnection: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A private endpoint connection + properties: + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + PrivateEndpointConnectionListResult: + description: A list of private endpoint connections. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateEndpointConnection' + readOnly: true + type: array + type: object + PrivateEndpointConnectionProperties: + description: Properties of a private endpoint connection. + properties: + privateEndpoint: + $ref: '#/definitions/PrivateEndpointProperty' + description: Private endpoint which the connection belongs to. + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionStateProperty' + description: Connection state of the private endpoint connection. + provisioningState: + description: State of the private endpoint connection. + readOnly: true + type: string + type: object + PrivateEndpointProperty: + description: Private endpoint which the connection belongs to. + properties: + id: + description: Resource id of the private endpoint. + type: string + type: object + PrivateLinkResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A private link resource + properties: + properties: + $ref: '#/definitions/PrivateLinkResourceProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + PrivateLinkResourceListResult: + description: A list of private link resources + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateLinkResource' + readOnly: true + type: array + type: object + PrivateLinkResourceProperties: + description: Properties of a private link resource. + properties: + groupId: + description: The private link resource group id. + readOnly: true + type: string + requiredMembers: + description: The private link resource required member names. + items: + type: string + readOnly: true + type: array + type: object + PrivateLinkScopesResource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + PrivateLinkServiceConnectionStateProperty: + description: State of the private endpoint connection. + properties: + actionsRequired: + description: The actions required for private link service connection. + readOnly: true + type: string + description: + description: The private link service connection description. + type: string + status: + description: The private link service connection status. + type: string + required: + - status + - description + type: object + ProxyResource: + description: Common properties of proxy resource. + properties: + id: + description: Resource ID. + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: Resource type. + readOnly: true + type: string + ScopedResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A private link scoped resource + properties: + properties: + $ref: '#/definitions/ScopedResourceProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + ScopedResourceListResult: + description: A list of scoped resources in a private link scope. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/ScopedResource' + readOnly: true + type: array + type: object + ScopedResourceProperties: + description: Properties of a private link scoped resource. + properties: + linkedResourceId: + description: The resource id of the scoped Azure monitor resource. + type: string + provisioningState: + description: State of the private endpoint connection. + readOnly: true + type: string + type: object + TagsResource: + description: 'A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance.' + properties: + tags: + additionalProperties: + type: string + description: Resource tags diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-scheduledQueryRule_API/2018-04-16/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-scheduledQueryRule_API/2018-04-16/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d71eabd831f5c016b2062fca1ca6073303453915 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-scheduledQueryRule_API/2018-04-16/swagger.yaml @@ -0,0 +1,1044 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Azure Monitor client to create/update/delete Scheduled Query Rules + title: Microsoft Insights + version: '2018-04-16' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-scheduledQueryRule_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + FilterParameter: + description: 'The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx' + in: query + name: $filter + required: false + type: string + x-ms-parameter-location: method + ResourceGroupNameParameter: + description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + RuleNameParameter: + description: The name of the rule. + in: path + name: ruleName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Azure subscription Id. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/scheduledQueryRules': + get: + description: List the Log Search rules within a subscription group. + operationId: ScheduledQueryRules_ListBySubscription + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/FilterParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for a list of alert rules + schema: + $ref: '#/definitions/LogSearchRuleResourceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + List rules: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + value: + - id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + metricTrigger: + metricColumn: user_Id + metricTriggerType: Total + threshold: 2 + thresholdOperator: LessThan + threshold: 2 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'false' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + - id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 10 + timeWindowInMinutes: 30 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + x-ms-odata: '#/definitions/LogSearchRuleResource' + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules': + get: + description: List the Log Search rules within a resource group. + operationId: ScheduledQueryRules_ListByResourceGroup + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/FilterParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for a list of alert rules + schema: + $ref: '#/definitions/LogSearchRuleResourceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + List rules: + parameters: + api-version: '2018-03-01' + resourceGroupName: gigtest + subscriptionId: 14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7 + responses: + '200': + body: + value: + - id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + metricTrigger: + metricColumn: user_Id + metricTriggerType: Total + threshold: 2 + thresholdOperator: LessThan + threshold: 2 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'false' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + - id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 10 + timeWindowInMinutes: 30 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + x-ms-odata: '#/definitions/LogSearchRuleResource' + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/scheduledQueryRules/{ruleName}': + delete: + description: Deletes a Log Search rule + operationId: ScheduledQueryRules_Delete + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to delete a Log Search rule + '204': + description: No Content. Resource not found + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + Delete rule: + parameters: + api-version: '2018-04-16' + resourceGroupName: Rac46PostSwapRG + ruleName: logalertfoo + subscriptionId: b67f7fec-69fc-4974-9099-a26bd6ffeda3 + responses: + '200': {} + '204': {} + get: + description: Gets an Log Search rule + operationId: ScheduledQueryRules_Get + parameters: + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request to get a Log Search rule + schema: + $ref: '#/definitions/LogSearchRuleResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + Get rule: + parameters: + api-version: '2018-04-16' + resourceGroupName: Rac46PostSwapRG + ruleName: logalertfoo + subscriptionId: b67f7fec-69fc-4974-9099-a26bd6ffeda3 + responses: + '200': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + patch: + description: Update log search Rule. + operationId: ScheduledQueryRules_Update + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: The parameters of the rule to update. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LogSearchRuleResourcePatch' + responses: + '200': + description: Successful request to update an Log Search rule + schema: + $ref: '#/definitions/LogSearchRuleResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + Patch Log Search Rule: + parameters: + api-version: '2018-04-16' + parameters: + properties: + enabled: 'true' + resourceGroupName: my-resource-group + ruleName: logalertfoo + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: West US + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + metricTrigger: + metricColumn: ColumnName + metricTriggerType: Consecutive + threshold: 5 + thresholdOperator: GreaterThan + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: requests + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + put: + description: Creates or updates an log search rule. + operationId: ScheduledQueryRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/RuleNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: The parameters of the rule to create or update. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LogSearchRuleResource' + responses: + '200': + description: Successful request to update an Log Search rule + schema: + $ref: '#/definitions/LogSearchRuleResource' + '201': + description: Created alert rule + schema: + $ref: '#/definitions/LogSearchRuleResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - scheduledQueryRules + x-ms-examples: + Create or Update rule - AlertingAction: + parameters: + api-version: '2018-04-16' + parameters: + location: eastus + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + metricTrigger: + metricColumn: Computer + metricTriggerType: Consecutive + threshold: 5 + thresholdOperator: GreaterThan + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + query: 'Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)' + queryType: ResultCount + tags: {} + resourceGroupName: Rac46PostSwapRG + ruleName: logalertfoo + subscriptionId: b67f7fec-69fc-4974-9099-a26bd6ffeda3 + responses: + '200': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: eastus + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + metricTrigger: + metricColumn: Computer + metricTriggerType: Consecutive + threshold: 5 + thresholdOperator: GreaterThan + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + query: 'Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)' + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + '201': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/logalertfoo + location: eastus + name: logalertfoo + properties: + action: + aznsAction: + actionGroup: [] + customWebhookPayload: '{}' + emailSubject: Email Header + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '1' + trigger: + threshold: 3 + thresholdOperator: GreaterThan + description: log alert description + enabled: 'true' + lastUpdatedTime: '2017-06-23T21:23:52.0221265Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 15 + timeWindowInMinutes: 15 + source: + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + query: Heartbeat + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + Create or Update rule - AlertingAction with Cross-Resource: + parameters: + api-version: '2018-04-16' + parameters: + location: eastus + properties: + action: + aznsAction: + actionGroup: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag + emailSubject: Cross Resource Mail!! + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '3' + trigger: + threshold: 5000 + thresholdOperator: GreaterThan + description: Sample Cross Resource alert + enabled: 'true' + schedule: + frequencyInMinutes: 60 + timeWindowInMinutes: 60 + source: + authorizedResources: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: 'union requests, workspace("sampleWorkspace").Update' + queryType: ResultCount + tags: {} + resourceGroupName: Rac46PostSwapRG + ruleName: SampleCrossResourceAlert + subscriptionId: b67f7fec-69fc-4974-9099-a26bd6ffeda3 + responses: + '200': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/SampleCrossResourceAlert + location: eastus + name: SampleCrossResourceAlert + properties: + action: + aznsAction: + actionGroup: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag + emailSubject: Cross Resource Mail!! + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '3' + trigger: + threshold: 5000 + thresholdOperator: GreaterThan + description: Sample Cross Resource alert + enabled: 'true' + lastUpdatedTime: '2018-09-04T06:27:58.3892575Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 60 + timeWindowInMinutes: 60 + source: + authorizedResources: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: 'union requests, workspace("sampleWorkspace").Update' + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + '201': + body: + id: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/scheduledQueryRules/SampleCrossResourceAlert + location: eastus + name: SampleCrossResourceAlert + properties: + action: + aznsAction: + actionGroup: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag + emailSubject: Cross Resource Mail!! + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + severity: '3' + trigger: + threshold: 5000 + thresholdOperator: GreaterThan + description: Sample Cross Resource alert + enabled: 'true' + lastUpdatedTime: '2018-09-04T06:27:58.3892575Z' + provisioningState: Succeeded + schedule: + frequencyInMinutes: 60 + timeWindowInMinutes: 60 + source: + authorizedResources: + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace + - /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI + query: 'union requests, workspace("sampleWorkspace").Update' + queryType: ResultCount + tags: {} + type: Microsoft.Insights/scheduledQueryRules + headers: {} + Create or Update rule - LogToMetricAction: + parameters: + api-version: '2018-04-16' + parameters: + location: West Europe + properties: + action: + criteria: + - dimensions: [] + metricName: Average_% Idle Time + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction + description: log to metric description + enabled: 'true' + source: + dataSourceId: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu + tags: {} + resourceGroupName: alertsweu + ruleName: logtometricfoo + subscriptionId: af52d502-a447-4bc6-8cb7-4780fbb00490 + responses: + '200': + body: + id: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/microsoft.insights/scheduledqueryrules/logtometricfoo + location: westeurope + name: logtometricfoo + properties: + action: + criteria: + - dimensions: [] + metricName: Average_% Idle Time + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction + description: log to metric description + displayName: logtometricfoo + enabled: 'true' + lastUpdatedTime: '2018-09-04T06:31:56.3737792Z' + provisioningState: Succeeded + schedule: null + source: + dataSourceId: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu + query: null + tags: {} + type: microsoft.insights/scheduledqueryrules + headers: {} + '201': + body: + id: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/microsoft.insights/scheduledqueryrules/logtometricfoo + location: westeurope + name: logtometricfoo + properties: + action: + criteria: + - dimensions: [] + metricName: Average_% Idle Time + odata.type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction + description: log to metric description + enabled: 'true' + lastUpdatedTime: '2018-09-04T06:27:58.3892575Z' + provisioningState: Succeeded + schedule: null + source: + dataSourceId: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu + query: null + tags: {} + type: microsoft.insights/scheduledqueryrules + headers: {} +definitions: + Action: + description: Action descriptor. + discriminator: odata.type + properties: + odata.type: + description: 'Specifies the action. Supported values - AlertingAction, LogToMetricAction' + type: string + required: + - odata.type + type: object + AlertSeverity: + description: Severity Level of Alert + enum: + - '0' + - '1' + - '2' + - '3' + - '4' + type: string + x-ms-enum: + modelAsString: true + name: AlertSeverity + AlertingAction: + allOf: + - $ref: '#/definitions/Action' + description: Specify action need to be taken when rule type is Alert + properties: + aznsAction: + $ref: '#/definitions/AzNsActionGroup' + description: Azure action group reference. + severity: + $ref: '#/definitions/AlertSeverity' + description: Severity of the alert + throttlingInMin: + description: time (in minutes) for which Alerts should be throttled or suppressed. + format: int32 + type: integer + trigger: + $ref: '#/definitions/TriggerCondition' + description: The trigger condition that results in the alert rule being. + required: + - trigger + - severity + type: object + x-ms-discriminator-value: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction + AzNsActionGroup: + description: Azure action group + properties: + actionGroup: + description: Azure Action Group reference. + items: + type: string + type: array + customWebhookPayload: + description: Custom payload to be sent for all webhook URI in Azure action group + type: string + emailSubject: + description: Custom subject override for all email ids in Azure action group + type: string + type: object + ConditionalOperator: + description: Result Condition Evaluation criteria. Supported Values - 'GreaterThan' or 'LessThan' or 'Equal'. + enum: + - GreaterThan + - LessThan + - Equal + type: string + x-ms-enum: + modelAsString: true + name: ConditionalOperator + Criteria: + description: Specifies the criteria for converting log to metric. + properties: + dimensions: + description: List of Dimensions for creating metric + items: + $ref: '#/definitions/Dimension' + type: array + metricName: + description: Name of the metric + type: string + required: + - metricName + type: object + Dimension: + description: Specifies the criteria for converting log to metric. + properties: + name: + description: Name of the dimension + type: string + operator: + description: Operator for dimension values + enum: + - Include + type: string + x-ms-enum: + modelAsString: true + name: operator + values: + description: List of dimension values + items: + type: string + type: array + required: + - name + - operator + - values + type: object + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LogMetricTrigger: + description: A log metrics trigger descriptor. + properties: + metricColumn: + description: Evaluation of metric on a particular column + type: string + metricTriggerType: + $ref: '#/definitions/MetricTriggerType' + description: Metric Trigger Type - 'Consecutive' or 'Total' + threshold: + description: The threshold of the metric trigger. + format: double + type: number + thresholdOperator: + $ref: '#/definitions/ConditionalOperator' + description: Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. + type: object + LogSearchRule: + description: Log Search Rule Definition + properties: + action: + $ref: '#/definitions/Action' + description: Action needs to be taken on rule execution. + description: + description: The description of the Log Search rule. + type: string + enabled: + description: The flag which indicates whether the Log Search rule is enabled. Value should be true or false + enum: + - 'true' + - 'false' + type: string + x-ms-enum: + modelAsString: true + name: enabled + lastUpdatedTime: + description: Last time the rule was updated in IS08601 format. + format: date-time + readOnly: true + type: string + provisioningState: + description: Provisioning state of the scheduled query rule + enum: + - Succeeded + - Deploying + - Canceled + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: provisioningState + schedule: + $ref: '#/definitions/Schedule' + description: 'Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction' + source: + $ref: '#/definitions/Source' + description: Data Source against which rule will Query Data + required: + - source + - action + LogSearchRulePatch: + description: Log Search Rule Definition for Patching + properties: + enabled: + description: The flag which indicates whether the Log Search rule is enabled. Value should be true or false + enum: + - 'true' + - 'false' + type: string + x-ms-enum: + modelAsString: true + name: enabled + LogSearchRuleResource: + allOf: + - $ref: '#/definitions/Resource' + description: The Log Search Rule resource. + properties: + properties: + $ref: '#/definitions/LogSearchRule' + description: The rule properties of the resource. + x-ms-client-flatten: true + required: + - properties + type: object + LogSearchRuleResourceCollection: + description: Represents a collection of Log Search rule resources. + properties: + value: + description: The values for the Log Search Rule resources. + items: + $ref: '#/definitions/LogSearchRuleResource' + type: array + LogSearchRuleResourcePatch: + description: The log search rule resource for patch operations. + properties: + properties: + $ref: '#/definitions/LogSearchRulePatch' + description: The log search rule properties of the resource. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + LogToMetricAction: + allOf: + - $ref: '#/definitions/Action' + description: Specify action need to be taken when rule type is converting log to metric + properties: + criteria: + description: Criteria of Metric + items: + $ref: '#/definitions/Criteria' + type: array + required: + - criteria + type: object + x-ms-discriminator-value: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction + MetricTriggerType: + description: Metric Trigger Evaluation Type + enum: + - Consecutive + - Total + type: string + x-ms-enum: + modelAsString: true + name: metricTriggerType + QueryType: + description: Set value to 'ResultAccount' + enum: + - ResultCount + type: string + x-ms-enum: + modelAsString: true + name: QueryType + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + Schedule: + description: Defines how often to run the search and the time interval. + properties: + frequencyInMinutes: + description: frequency (in minutes) at which rule condition should be evaluated. + format: int32 + type: integer + timeWindowInMinutes: + description: Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). + format: int32 + type: integer + required: + - frequencyInMinutes + - timeWindowInMinutes + type: object + Source: + description: Specifies the log search query. + properties: + authorizedResources: + description: List of Resource referred into query + items: + type: string + type: array + dataSourceId: + description: The resource uri over which log search query is to be run. + type: string + query: + description: Log search query. Required for action type - AlertingAction + type: string + queryType: + $ref: '#/definitions/QueryType' + description: Set value to 'ResultCount' . + required: + - dataSourceId + type: object + TriggerCondition: + description: The condition that results in the Log Search rule. + properties: + metricTrigger: + $ref: '#/definitions/LogMetricTrigger' + description: Trigger condition for metric query rule + threshold: + description: Result or count threshold based on which rule should be triggered. + format: double + type: number + thresholdOperator: + $ref: '#/definitions/ConditionalOperator' + description: Evaluation operation for rule - 'GreaterThan' or 'LessThan. + required: + - thresholdOperator + - threshold + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2015-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2015-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1e023fbcd8fc84774b6114dd5123f09b7336891d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2015-07-01/swagger.yaml @@ -0,0 +1,249 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2015-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: monitor-serviceDiagnosticsSettings_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method +paths: + '/{resourceUri}/providers/microsoft.insights/diagnosticSettings/service': + get: + deprecated: true + description: Gets the active diagnostic settings for the specified resource. + operationId: ServiceDiagnosticSettings_Get + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get more information about service diagnostic setting + examples: + application/json: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ServiceDiagnosticSettings + put: + deprecated: true + description: Create or update new diagnostic settings for the specified resource. + operationId: ServiceDiagnosticSettings_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + responses: + '200': + description: Successful request to create a service diagnostic setting + examples: + application/json: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + tags: + - ServiceDiagnosticSettings +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LogSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. + properties: + category: + description: 'Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.' + type: string + enabled: + description: a value indicating whether this log is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this log. + required: + - enabled + MetricSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. + properties: + enabled: + description: a value indicating whether this timegrain is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this timegrain. + timeGrain: + description: the timegrain of the metric in ISO8601 format. + format: duration + type: string + required: + - enabled + - timeGrain + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + RetentionPolicy: + description: Specifies the retention policy for the log. + properties: + days: + description: the number of days for the retention in days. A value of 0 will retain the events indefinitely. + format: int32 + type: integer + enabled: + description: a value indicating whether the retention policy is enabled. + type: boolean + required: + - enabled + - days + ServiceDiagnosticSettings: + description: The diagnostic settings for service. + properties: + logs: + description: the list of logs settings. + items: + $ref: '#/definitions/LogSettings' + type: array + metrics: + description: the list of metric settings. + items: + $ref: '#/definitions/MetricSettings' + type: array + serviceBusRuleId: + description: 'The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: ''{service bus resource ID}/authorizationrules/{key name}''.' + type: string + storageAccountId: + description: The resource ID of the storage account to which you would like to send Diagnostic Logs. + type: string + workspaceId: + description: 'The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2' + type: string + ServiceDiagnosticSettingsResource: + allOf: + - $ref: '#/definitions/Resource' + description: Description of a service diagnostic setting + properties: + properties: + $ref: '#/definitions/ServiceDiagnosticSettings' + x-ms-client-flatten: true + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..56fe6873ba4903d3b7c5d351ad3272db85481051 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-serviceDiagnosticsSettings_API/2016-09-01/swagger.yaml @@ -0,0 +1,417 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: monitor-serviceDiagnosticsSettings_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + ResourceUriParameter: + description: The identifier of the resource. + in: path + name: resourceUri + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/{resourceUri}/providers/microsoft.insights/diagnosticSettings/service': + get: + description: 'Gets the active diagnostic settings for the specified resource. **WARNING**: This method will be deprecated in future releases.' + operationId: ServiceDiagnosticSettings_Get + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get more information about service diagnostic setting + examples: + application/json: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ServiceDiagnosticSettings + x-ms-examples: + Get service diagnostic setting: + parameters: + api-version: '2016-09-01' + resourceUri: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + headers: {} + patch: + description: 'Updates an existing ServiceDiagnosticSettingsResource. To update other fields use the CreateOrUpdate method. **WARNING**: This method will be deprecated in future releases.' + operationId: ServiceDiagnosticSettings_Update + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: serviceDiagnosticSettingsResource + required: true + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResourcePatch' + responses: + '200': + description: An existing service diagnostics setting resource was successfully updated. + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + x-ms-examples: + Update a service diagnostic setting: + parameters: + api-version: '2016-09-01' + parameters: + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 5 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 3 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + resourceUri: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 5 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 3 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + headers: {} + put: + description: 'Create or update new diagnostic settings for the specified resource. **WARNING**: This method will be deprecated in future releases.' + operationId: ServiceDiagnosticSettings_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceUriParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + responses: + '200': + description: Successful request to create a service diagnostic setting + examples: + application/json: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + schema: + $ref: '#/definitions/ServiceDiagnosticSettingsResource' + tags: + - ServiceDiagnosticSettings + x-ms-examples: + Create or update a service diagnostic setting: + parameters: + api-version: '2016-09-01' + parameters: + location: '' + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + resourceUri: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6 + responses: + '200': + body: + id: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service + location: '' + name: service + properties: + eventHubAuthorizationRuleId: /subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: WorkflowRuntime + enabled: true + retentionPolicy: + days: 0 + enabled: false + metrics: + - enabled: true + retentionPolicy: + days: 0 + enabled: false + timeGrain: PT1M + serviceBusRuleId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + tags: null + type: '' + headers: {} +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + LogSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. + properties: + category: + description: 'Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation.' + type: string + enabled: + description: a value indicating whether this log is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this log. + required: + - enabled + MetricSettings: + description: Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. + properties: + enabled: + description: a value indicating whether this timegrain is enabled. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicy' + description: the retention policy for this timegrain. + timeGrain: + description: the timegrain of the metric in ISO8601 format. + format: duration + type: string + required: + - enabled + - timeGrain + Resource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - create + - read + name: + description: Azure resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: + description: Azure resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + RetentionPolicy: + description: Specifies the retention policy for the log. + properties: + days: + description: the number of days for the retention in days. A value of 0 will retain the events indefinitely. + format: int32 + minimum: 0 + type: integer + enabled: + description: a value indicating whether the retention policy is enabled. + type: boolean + required: + - enabled + - days + ServiceDiagnosticSettings: + description: The diagnostic settings for service. + properties: + eventHubAuthorizationRuleId: + description: The resource Id for the event hub namespace authorization rule. + type: string + logs: + description: the list of logs settings. + items: + $ref: '#/definitions/LogSettings' + type: array + metrics: + description: the list of metric settings. + items: + $ref: '#/definitions/MetricSettings' + type: array + serviceBusRuleId: + description: 'The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: ''{service bus resource ID}/authorizationrules/{key name}''.' + type: string + storageAccountId: + description: The resource ID of the storage account to which you would like to send Diagnostic Logs. + type: string + workspaceId: + description: 'The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2' + type: string + ServiceDiagnosticSettingsResource: + allOf: + - $ref: '#/definitions/Resource' + description: Description of a service diagnostic setting + properties: + properties: + $ref: '#/definitions/ServiceDiagnosticSettings' + description: The service diagnostics settings of the resource. + x-ms-client-flatten: true + type: object + ServiceDiagnosticSettingsResourcePatch: + description: Service diagnostic setting resource for patch operations + properties: + properties: + $ref: '#/definitions/ServiceDiagnosticSettings' + description: The service diagnostics settings for an update operation. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-subscriptionDiagnosticsSettings_API/2017-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-subscriptionDiagnosticsSettings_API/2017-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1596497476ca133925c52b52a614a2330613f81d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-subscriptionDiagnosticsSettings_API/2017-05-01-preview/swagger.yaml @@ -0,0 +1,343 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: 2017-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-subscriptionDiagnosticsSettings_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + NameParameter: + description: The name of the diagnostic setting. + in: path + name: name + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription id. + in: path + name: subscriptionId + required: true + type: string + x-ms-parameter-location: method + x-ms-skip-url-encoding: true +paths: + '/subscriptions/{subscriptionId}/providers/microsoft.insights/diagnosticSettings': + get: + description: Gets the active subscription diagnostic settings list for the specified subscriptionId. + operationId: SubscriptionDiagnosticSettings_List + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successful request to get more information about subscription diagnostic setting + schema: + $ref: '#/definitions/SubscriptionDiagnosticSettingsResourceCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - SubscriptionDiagnosticSettings + x-ms-examples: + Gets the subscription diagnostic setting: + parameters: + api-version: 2017-05-01-preview + subscriptionId: fb9f25f9-5785-4510-a38f-a62f188eb9f8 + responses: + '200': + body: + value: + - id: subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4 + name: ds4 + properties: + eventHubAuthorizationRuleId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: Security + enabled: true + - category: Administrative + enabled: true + - category: ServiceHealth + enabled: true + - category: Alert + enabled: true + - category: Recommendation + enabled: true + - category: Policy + enabled: true + - category: Autoscale + enabled: true + - category: ResourceHealth + enabled: true + storageAccountId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1 + type: null + headers: {} + '/subscriptions/{subscriptionId}/providers/microsoft.insights/diagnosticSettings/{name}': + delete: + description: Deletes existing subscription diagnostic settings for the specified resource. + operationId: SubscriptionDiagnosticSettings_Delete + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to remove a subscription diagnostic setting + '204': + description: Successful request to remove a subscription diagnostic setting + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - SubscriptionDiagnosticSettings + x-ms-examples: + Deletes the subscription diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: ds4 + subscriptionId: 1a66ce04-b633-4a0b-b2bc-a912ec8986a6 + responses: + '200': {} + '204': {} + get: + description: Gets the active subscription diagnostic settings for the specified resource. + operationId: SubscriptionDiagnosticSettings_Get + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to get more information about diagnostic setting. + schema: + $ref: '#/definitions/SubscriptionDiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - SubscriptionDiagnosticSettings + x-ms-examples: + Gets the subscription diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: mysetting + subscriptionId: fb9f25f9-5785-4510-a38f-a62f188eb9f8 + responses: + '200': + body: + id: subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4 + location: global + name: ds4 + properties: + eventHubAuthorizationRuleId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: Security + enabled: true + - category: Administrative + enabled: true + - category: ServiceHealth + enabled: true + - category: Alert + enabled: true + - category: Recommendation + enabled: true + - category: Policy + enabled: true + - category: Autoscale + enabled: true + - category: ResourceHealth + enabled: true + storageAccountId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1 + type: null + headers: {} + put: + description: Creates or updates subscription diagnostic settings for the specified resource. + operationId: SubscriptionDiagnosticSettings_CreateOrUpdate + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters supplied to the operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SubscriptionDiagnosticSettingsResource' + - $ref: '#/parameters/NameParameter' + responses: + '200': + description: Successful request to create a subscription diagnostic setting + schema: + $ref: '#/definitions/SubscriptionDiagnosticSettingsResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - SubscriptionDiagnosticSettings + x-ms-examples: + Creates or Updates the subscription diagnostic setting: + parameters: + api-version: 2017-05-01-preview + name: ds4 + parameters: + properties: + eventHubAuthorizationRuleId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + eventHubName: myeventhub + logs: + - category: Security + enabled: true + storageAccountId: /subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: '' + subscriptionId: fb9f25f9-5785-4510-a38f-a62f188eb9f8 + responses: + '200': + body: + id: subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/providers/AzureResourceManager/diagnosticSettings/ds4 + location: global + name: ds4 + properties: + eventHubAuthorizationRuleId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule + logs: + - category: Security + enabled: true + - category: Administrative + enabled: true + - category: ServiceHealth + enabled: true + - category: Alert + enabled: true + - category: Recommendation + enabled: true + - category: Policy + enabled: true + - category: Autoscale + enabled: true + - category: ResourceHealth + enabled: true + storageAccountId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1 + workspaceId: /subscriptions/fb9f25f9-5785-4510-a38f-a62f188eb9f8/resourceGroups/apptest/providers/Microsoft.OperationalInsights/workspaces/test1 + type: null + headers: {} +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + SubscriptionDiagnosticSettings: + description: The subscription diagnostic settings. + properties: + eventHubAuthorizationRuleId: + description: The resource Id for the event hub authorization rule. + type: string + eventHubName: + description: 'The name of the event hub. If none is specified, the default event hub will be selected.' + type: string + logs: + description: The list of logs settings. + items: + $ref: '#/definitions/SubscriptionLogSettings' + type: array + serviceBusRuleId: + description: The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. + type: string + storageAccountId: + description: The resource ID of the storage account to which you would like to send Diagnostic Logs. + type: string + workspaceId: + description: 'The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2' + type: string + SubscriptionDiagnosticSettingsResource: + allOf: + - $ref: '#/definitions/SubscriptionProxyOnlyResource' + description: The subscription diagnostic setting resource. + properties: + properties: + $ref: '#/definitions/SubscriptionDiagnosticSettings' + description: Properties of a Subscription Diagnostic Settings Resource. + x-ms-client-flatten: true + type: object + SubscriptionDiagnosticSettingsResourceCollection: + description: Represents a collection of subscription diagnostic settings resources. + properties: + value: + description: The collection of subscription diagnostic settings resources. + items: + $ref: '#/definitions/SubscriptionDiagnosticSettingsResource' + type: array + SubscriptionLogSettings: + description: Part of Subscription diagnostic setting. Specifies the settings for a particular log. + properties: + category: + description: Name of a Subscription Diagnostic Log category for a resource type this setting is applied to. + type: string + enabled: + description: a value indicating whether this log is enabled. + type: boolean + required: + - enabled + SubscriptionProxyOnlyResource: + description: A proxy only azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + location: + description: Location of the resource + type: string + name: + description: Azure resource name + readOnly: true + type: string + type: + description: Azure resource type + readOnly: true + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-tenantActivityLogs_API/2015-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-tenantActivityLogs_API/2015-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..595ea36148cb4a26a97bf4fdba8f6da2c7dce667 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-tenantActivityLogs_API/2015-04-01/swagger.yaml @@ -0,0 +1,455 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + title: MonitorManagementClient + version: '2015-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-tenantActivityLogs_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + SelectParameter: + description: 'Used to fetch events with only the given properties.
The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId*' + in: query + name: $select + required: false + type: string + x-ms-parameter-location: method +paths: + /providers/microsoft.insights/eventtypes/management/values: + get: + description: 'Gets the Activity Logs for the Tenant.
Everything that is applicable to the API to get the Activity Logs for the subscription is applicable to this API (the parameters, $filter, etc.).
One thing to point out here is that this API does *not* retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level.' + operationId: TenantActivityLogs_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - description: 'Reduces the set of data collected.
The **$filter** is very restricted and allows only the following patterns.
- List events for a resource group: $filter=eventTimestamp ge '''' and eventTimestamp le '''' and eventChannels eq ''Admin, Operation'' and resourceGroupName eq ''''.
- List events for resource: $filter=eventTimestamp ge '''' and eventTimestamp le '''' and eventChannels eq ''Admin, Operation'' and resourceUri eq ''''.
- List events for a subscription: $filter=eventTimestamp ge '''' and eventTimestamp le '''' and eventChannels eq ''Admin, Operation''.
- List events for a resource provider: $filter=eventTimestamp ge '''' and eventTimestamp le '''' and eventChannels eq ''Admin, Operation'' and resourceProvider eq ''''.
- List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge ''2014-07-16T04:36:37.6407898Z'' and eventTimestamp le ''2014-07-20T04:36:37.6407898Z'' and eventChannels eq ''Admin, Operation'' and correlationId eq ''''.
**NOTE**: No other syntax is allowed.' + in: query + name: $filter + required: false + type: string + - $ref: '#/parameters/SelectParameter' + responses: + '200': + description: Successful request to get a page of events in the tenant activity logs + schema: + $ref: '#/definitions/EventDataCollection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - TenantActivityLogs + x-ms-examples: + Get Tenant Activity Logs with filter: + parameters: + $filter: 'eventTimestamp ge ''2015-01-21T20:00:00Z'' and eventTimestamp le ''2015-01-23T20:00:00Z'' and resourceGroupName eq ''MSSupportGroup''' + api-version: '2015-04-01' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + responses: + '200': + body: + nextLink: 'https://management.azure.com/########-####-####-####-############$skiptoken=######' + value: + - authorization: + action: microsoft.support/supporttickets/write + role: Subscription Admin + scope: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841 + caller: admin@contoso.com + claims: + appid: c44b4083-3bq0-49c1-b47d-974e53cbdf3c + appidacr: '2' + aud: 'https://management.core.windows.net/' + exp: '1421880271' + groups: 'cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c' + 'http://schemas.microsoft.com/claims/authnclassreference': '1' + 'http://schemas.microsoft.com/claims/authnmethodsreferences': pwd + 'http://schemas.microsoft.com/identity/claims/objectidentifier': 2468adf0-8211-44e3-95xq-85137af64708 + 'http://schemas.microsoft.com/identity/claims/scope': user_impersonation + 'http://schemas.microsoft.com/identity/claims/tenantid': 1e8d8218-c5e7-4578-9acc-9abbd5d23315 + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname': John + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': admin@contoso.com + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier': 9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname': Smith + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn': admin@contoso.com + iat: '1421876371' + iss: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/' + name: John Smith + nbf: '1421876371' + puid: 20030000801A118C + ver: '1.0' + correlationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + description: '' + eventDataId: 44ade6b4-3813-45e6-ae27-7420a95fa2f8 + eventName: + localizedValue: End request + value: EndRequest + eventTimestamp: '2015-01-21T22:14:26.9792776Z' + httpRequest: + clientIpAddress: 192.168.35.115 + clientRequestId: 27003b25-91d3-418f-8eb1-29e537dcb249 + method: PUT + id: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776 + level: Informational + operationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + operationName: + localizedValue: microsoft.support/supporttickets/write + value: microsoft.support/supporttickets/write + properties: + statusCode: Created + resourceGroupName: MSSupportGroup + resourceProviderName: + localizedValue: microsoft.support + value: microsoft.support + status: + localizedValue: Succeeded + value: Succeeded + subStatus: + localizedValue: 'Created (HTTP Status Code: 201)' + value: Created + submissionTimestamp: '2015-01-21T22:14:39.9936304Z' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + Get Tenant Activity Logs with filter and select: + parameters: + $filter: 'eventTimestamp ge ''2015-01-21T20:00:00Z'' and eventTimestamp le ''2015-01-23T20:00:00Z'' and resourceGroupName eq ''MSSupportGroup''' + $select: 'eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level' + api-version: '2015-04-01' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + responses: + '200': + body: + nextLink: 'https://management.azure.com/########-####-####-####-############$skiptoken=######' + value: + - correlationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + eventName: + localizedValue: End request + value: EndRequest + eventTimestamp: '2015-01-21T22:14:26.9792776Z' + id: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776 + level: Informational + operationName: + localizedValue: microsoft.support/supporttickets/write + value: microsoft.support/supporttickets/write + resourceGroupName: MSSupportGroup + resourceProviderName: + localizedValue: microsoft.support + value: microsoft.support + status: + localizedValue: Succeeded + value: Succeeded + submissionTimestamp: '2015-01-21T22:14:39.9936304Z' + Get Tenant Activity Logs with select: + parameters: + $select: 'eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level' + api-version: '2015-04-01' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + responses: + '200': + body: + nextLink: 'https://management.azure.com/########-####-####-####-############$skiptoken=######' + value: + - correlationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + eventName: + localizedValue: End request + value: EndRequest + eventTimestamp: '2015-01-21T22:14:26.9792776Z' + id: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776 + level: Informational + operationName: + localizedValue: microsoft.support/supporttickets/write + value: microsoft.support/supporttickets/write + resourceGroupName: MSSupportGroup + resourceProviderName: + localizedValue: microsoft.support + value: microsoft.support + status: + localizedValue: Succeeded + value: Succeeded + submissionTimestamp: '2015-01-21T22:14:39.9936304Z' + Get Tenant Activity Logs without filter or select: + parameters: + api-version: '2015-04-01' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + responses: + '200': + body: + nextLink: 'https://management.azure.com/########-####-####-####-############$skiptoken=######' + value: + - authorization: + action: microsoft.support/supporttickets/write + role: Subscription Admin + scope: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841 + caller: admin@contoso.com + claims: + appid: c44b4083-3bq0-49c1-b47d-974e53cbdf3c + appidacr: '2' + aud: 'https://management.core.windows.net/' + exp: '1421880271' + groups: 'cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c' + 'http://schemas.microsoft.com/claims/authnclassreference': '1' + 'http://schemas.microsoft.com/claims/authnmethodsreferences': pwd + 'http://schemas.microsoft.com/identity/claims/objectidentifier': 2468adf0-8211-44e3-95xq-85137af64708 + 'http://schemas.microsoft.com/identity/claims/scope': user_impersonation + 'http://schemas.microsoft.com/identity/claims/tenantid': 1e8d8218-c5e7-4578-9acc-9abbd5d23315 + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname': John + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': admin@contoso.com + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier': 9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname': Smith + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn': admin@contoso.com + iat: '1421876371' + iss: 'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/' + name: John Smith + nbf: '1421876371' + puid: 20030000801A118C + ver: '1.0' + correlationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + description: '' + eventDataId: 44ade6b4-3813-45e6-ae27-7420a95fa2f8 + eventName: + localizedValue: End request + value: EndRequest + eventTimestamp: '2015-01-21T22:14:26.9792776Z' + httpRequest: + clientIpAddress: 192.168.35.115 + clientRequestId: 27003b25-91d3-418f-8eb1-29e537dcb249 + method: PUT + id: /subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776 + level: Informational + operationId: 1e121103-0ba6-4300-ac9d-952bb5d0c80f + operationName: + localizedValue: microsoft.support/supporttickets/write + value: microsoft.support/supporttickets/write + properties: + statusCode: Created + resourceGroupName: MSSupportGroup + resourceProviderName: + localizedValue: microsoft.support + value: microsoft.support + status: + localizedValue: Succeeded + value: Succeeded + subStatus: + localizedValue: 'Created (HTTP Status Code: 201)' + value: Created + submissionTimestamp: '2015-01-21T22:14:39.9936304Z' + subscriptionId: 089bd33f-d4ec-47fe-8ba5-0753aa5c5b33 + x-ms-odata: '#/definitions/EventData' + x-ms-pageable: + nextLinkName: nextLink +definitions: + ErrorResponse: + description: Describes the format of Error response. + properties: + code: + description: Error code + type: string + message: + description: Error message indicating why the operation failed. + type: string + type: object + EventData: + description: The Azure event log entries are of type EventData + properties: + authorization: + $ref: '#/definitions/SenderAuthorization' + description: The sender authorization information. + readOnly: true + caller: + description: 'the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.' + readOnly: true + type: string + category: + $ref: '#/definitions/LocalizableString' + description: the event category. + readOnly: true + claims: + additionalProperties: + type: string + description: key value pairs to identify ARM permissions. + readOnly: true + type: object + correlationId: + description: 'the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation.' + readOnly: true + type: string + description: + description: the description of the event. + readOnly: true + type: string + eventDataId: + description: the event data Id. This is a unique identifier for an event. + readOnly: true + type: string + eventName: + $ref: '#/definitions/LocalizableString' + description: 'the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.' + readOnly: true + eventTimestamp: + description: the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format. + format: date-time + readOnly: true + type: string + httpRequest: + $ref: '#/definitions/HttpRequestInfo' + description: 'the HTTP request info. Usually includes the ''clientRequestId'', ''clientIpAddress'' (IP address of the user who initiated the event) and ''method'' (HTTP method e.g. PUT).' + readOnly: true + id: + description: the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information. + readOnly: true + type: string + level: + description: the event level + enum: + - Critical + - Error + - Warning + - Informational + - Verbose + readOnly: true + type: string + x-ms-enum: + modelAsString: false + name: EventLevel + operationId: + description: It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName. + readOnly: true + type: string + operationName: + $ref: '#/definitions/LocalizableString' + description: the operation name. + readOnly: true + properties: + additionalProperties: + type: string + description: 'the set of pairs (usually a Dictionary) that includes details about the event.' + readOnly: true + type: object + resourceGroupName: + description: the resource group name of the impacted resource. + externalDocs: + url: 'http://msdn.microsoft.com/en-us/library/azure/dn790546.aspx' + readOnly: true + type: string + resourceId: + description: the resource uri that uniquely identifies the resource that caused this event. + externalDocs: + url: 'http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx' + readOnly: true + type: string + resourceProviderName: + $ref: '#/definitions/LocalizableString' + description: the resource provider name of the impacted resource. + externalDocs: + url: 'http://msdn.microsoft.com/en-us/library/azure/dn790572.aspx' + readOnly: true + resourceType: + $ref: '#/definitions/LocalizableString' + description: the resource type + externalDocs: + url: 'http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx' + readOnly: true + status: + $ref: '#/definitions/LocalizableString' + description: 'a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.' + readOnly: true + subStatus: + $ref: '#/definitions/LocalizableString' + description: 'the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)' + readOnly: true + submissionTimestamp: + description: 'the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurrence time of the event, and the time that the event is submitted to the Azure logging infrastructure.' + format: date-time + readOnly: true + type: string + subscriptionId: + description: the Azure subscription Id usually a GUID. + readOnly: true + type: string + tenantId: + description: the Azure tenant Id + readOnly: true + type: string + EventDataCollection: + description: Represents collection of events. + properties: + nextLink: + description: Provides the link to retrieve the next set of events. + type: string + value: + description: this list that includes the Azure audit logs. + items: + $ref: '#/definitions/EventData' + type: array + required: + - value + HttpRequestInfo: + description: The Http request info. + properties: + clientIpAddress: + description: the client Ip Address + type: string + clientRequestId: + description: the client request id. + type: string + method: + description: the Http request method. + type: string + uri: + description: the Uri. + type: string + LocalizableString: + description: The localizable string class. + properties: + localizedValue: + description: the locale specific value. + type: string + value: + description: the invariant value. + type: string + required: + - value + SenderAuthorization: + description: 'the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the ''action'', ''role'' and the ''scope''' + properties: + action: + description: 'the permissible actions. For instance: microsoft.support/supporttickets/write' + type: string + role: + description: 'the role of the user. For instance: Subscription Admin' + type: string + scope: + description: the scope. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-vmInsightsOnboarding_API/2018-11-27-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-vmInsightsOnboarding_API/2018-11-27-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..98caaafac82bb8741cfe56a3a1e462ea109ee6fe --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/monitor-vmInsightsOnboarding_API/2018-11-27-preview/swagger.yaml @@ -0,0 +1,286 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: API to manage VM Insights Onboarding + title: VM Insights Onboarding + version: 2018-11-27-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: MonitorManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: monitor-vmInsightsOnboarding_API + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: API version. + in: query + name: api-version + required: true + type: string +paths: + '/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default': + get: + description: Retrieves the VM Insights onboarding status for the specified resource or resource scope. + operationId: VMInsights_GetOnboardingStatus + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - description: 'The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.' + in: path + name: resourceUri + required: true + type: string + x-ms-skip-url-encoding: true + responses: + '200': + description: The operation completed successfully. + schema: + $ref: '#/definitions/VMInsightsOnboardingStatus' + default: + description: An error occurred while processing the request. See the error.code parameter to identify the specific error. + schema: + $ref: '#/definitions/ResponseWithError' + tags: + - VM Insights Onboarding + x-ms-examples: + Get status for a VM scale set that is actively reporting data: + parameters: + api-version: 2018-11-27-preview + resourceUri: subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01 + responses: + '200': + body: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default + name: default + properties: + data: + - workspace: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring + location: eastus + properties: + customerId: c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a + dataStatus: present + onboardingStatus: onboarded + resourceId: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01 + type: Microsoft.Insights/vmInsightsOnboardingStatuses + headers: {} + Get status for a VM that has not yet reported data: + parameters: + api-version: 2018-11-27-preview + resourceUri: subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm + responses: + '200': + body: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default + name: default + properties: + data: [] + dataStatus: notPresent + onboardingStatus: unknown + resourceId: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm + type: Microsoft.Insights/vmInsightsOnboardingStatuses + headers: {} + Get status for a VM that is actively reporting data: + parameters: + api-version: 2018-11-27-preview + resourceUri: subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm + responses: + '200': + body: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default + name: default + properties: + data: + - workspace: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring + location: eastus + properties: + customerId: c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a + dataStatus: present + onboardingStatus: onboarded + resourceId: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm + type: Microsoft.Insights/vmInsightsOnboardingStatuses + headers: {} + Get status for a resource group that has at least one VM that is actively reporting data: + parameters: + api-version: 2018-11-27-preview + resourceUri: subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms + responses: + '200': + body: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default + name: default + properties: + data: + - workspace: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring + location: eastus + properties: + customerId: c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a + dataStatus: present + onboardingStatus: onboarded + resourceId: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms + type: Microsoft.Insights/vmInsightsOnboardingStatuses + headers: {} + Get status for a subscription that has at least one VM that is actively reporting data: + parameters: + api-version: 2018-11-27-preview + resourceUri: subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87 + responses: + '200': + body: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default + name: default + properties: + data: + - workspace: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary + location: eastus + properties: + customerId: f096d163-206e-4abf-9db3-2c62af003d68 + - workspace: + id: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring + location: eastus + properties: + customerId: c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a + dataStatus: present + onboardingStatus: onboarded + resourceId: /subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87 + type: Microsoft.Insights/vmInsightsOnboardingStatuses +definitions: + DataContainer: + description: Information about a container with data for a given resource. + properties: + workspace: + $ref: '#/definitions/WorkspaceInfo' + description: Log Analytics workspace information. + required: + - workspace + type: object + Error: + description: Error details. + properties: + code: + description: Error code identifying the specific error. + type: string + message: + description: Error message in the caller's locale. + type: string + required: + - code + type: object + ProxyResource: + description: An azure resource object + properties: + id: + description: Azure resource Id + readOnly: true + type: string + name: + description: Azure resource name + readOnly: true + type: string + type: + description: Azure resource type + readOnly: true + type: string + x-ms-azure-resource: true + ResponseWithError: + description: An error response from the API. + properties: + error: + $ref: '#/definitions/Error' + description: Error information. + required: + - error + type: object + VMInsightsOnboardingStatus: + allOf: + - $ref: '#/definitions/ProxyResource' + description: VM Insights onboarding status for a resource. + properties: + properties: + description: Resource properties. + properties: + data: + description: Containers that currently store VM Insights data for the specified resource. + items: + $ref: '#/definitions/DataContainer' + type: array + dataStatus: + description: The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed. + enum: + - present + - notPresent + type: string + x-ms-enum: + modelAsString: true + name: DataStatus + onboardingStatus: + description: 'The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded.' + enum: + - onboarded + - notOnboarded + - unknown + type: string + x-ms-enum: + modelAsString: true + name: OnboardingStatus + resourceId: + description: Azure Resource Manager identifier of the resource whose onboarding status is being represented. + type: string + required: + - resourceId + - onboardingStatus + - dataStatus + type: object + x-ms-client-flatten: true + WorkspaceInfo: + description: Information about a Log Analytics Workspace. + properties: + id: + description: Azure Resource Manager identifier of the Log Analytics Workspace. + type: string + location: + description: Location of the Log Analytics workspace. + type: string + properties: + description: Resource properties. + properties: + customerId: + description: Log Analytics workspace identifier. + type: string + required: + - customerId + type: object + x-ms-client-flatten: true + required: + - id + - location + - properties + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2015-08-31-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2015-08-31-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a92c49139a23b4456869764c3daf16b1b11ca14b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2015-08-31-preview/swagger.yaml @@ -0,0 +1,517 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Managed Service Identity Client. + title: ManagedServiceIdentityClient + version: 2015-08-31-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/ManagedIdentity.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: msi-ManagedIdentity + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Version of API to invoke. + in: query + name: api-version + required: true + type: string + ResourceGroupNameParameter: + description: The name of the Resource Group to which the identity belongs. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ResourceNameParameter: + description: The name of the identity resource. + in: path + name: resourceName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Id of the Subscription to which the identity belongs. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.ManagedIdentity/operations: + get: + description: Lists available operations for the Microsoft.ManagedIdentity provider + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The operation was successful. The response contains the list of available operations. + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + MsiOperationsList: + parameters: + api-version: 2015-08-31-preview + responses: + '200': + body: + nextLink: 'https://serviceRoot/providers/Microsoft.ManagedIdentity/operations?api-version=2015-08-31-preview&$skiptoken=X''12345''' + value: + - display: + description: Gets an existing user assigned identity + operation: Get User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/read + - display: + description: Creates a new user assigned identity or updates the tags associated with an existing user assigned identity + operation: Create/Update User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/write + - display: + description: Deletes an existing user assigned identity + operation: Delete User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/delete + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities': + get: + description: Lists all the userAssignedIdentities available under the specified subscription. + operationId: UserAssignedIdentities_ListBySubscription + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The list of userAssignedIdentities was retrieved and returned successfully. + schema: + $ref: '#/definitions/UserAssignedIdentitiesListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityListBySubscription: + parameters: + api-version: 2015-08-31-preview + subscriptionId: subid + responses: + '200': + body: + nextLink: 'https://serviceRoot/subscriptions/subId/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2015-08-31-preview&$skiptoken=X''12345''' + value: + - id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities': + get: + description: Lists all the userAssignedIdentities available under the specified ResourceGroup. + operationId: UserAssignedIdentities_ListByResourceGroup + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The list of userAssignedIdentities was retrieved and returned successfully. + schema: + $ref: '#/definitions/UserAssignedIdentitiesListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityListByResourceGroup: + parameters: + api-version: 2015-08-31-preview + resourceGroupName: rgName + subscriptionId: subid + responses: + '200': + body: + nextLink: 'https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2015-08-31-preview&$skiptoken=X''12345''' + value: + - id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}': + delete: + description: Deletes the identity. + operationId: UserAssignedIdentities_Delete + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. Deleted Identity. + '204': + description: The specified identity does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityDelete: + parameters: + api-version: 2015-08-31-preview + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': {} + '204': {} + get: + description: Gets the identity. + operationId: UserAssignedIdentities_Get + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The requested identity. + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityGet: + parameters: + api-version: 2015-08-31-preview + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + patch: + description: Update an identity in the specified subscription and resource group. + operationId: UserAssignedIdentities_Update + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters to update the identity + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Identity' + responses: + '200': + description: Updated identity + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityUpdate: + parameters: + api-version: 2015-08-31-preview + parameters: + location: cus + tags: + key1: value1 + key2: value2 + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + put: + description: Create or update an identity in the specified subscription and resource group. + operationId: UserAssignedIdentities_CreateOrUpdate + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters to create or update the identity + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Identity' + responses: + '200': + description: Updated identity + schema: + $ref: '#/definitions/Identity' + '201': + description: Created identity + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityCreate: + parameters: + api-version: 2015-08-31-preview + parameters: + location: cus + tags: + key1: value1 + key2: value2 + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + '201': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + clientSecretUrl: 'https://serviceRoot/subscriptions/subscriptionId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/credentials?tid=tenantId&oid=principalId&aid=clientId' + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities +definitions: + CloudError: + description: An error response from the ManagedServiceIdentity service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: A list of additional details about the error. + x-ms-external: true + CloudErrorBody: + description: An error response from the ManagedServiceIdentity service. + properties: + code: + description: An identifier for the error. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + Identity: + description: Describes an identity resource. + properties: + id: + description: The id of the created identity. + readOnly: true + type: string + location: + description: The Azure region where the identity lives. + type: string + name: + description: The name of the created identity. + readOnly: true + type: string + properties: + $ref: '#/definitions/IdentityProperties' + description: The properties associated with the identity. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: The type of resource i.e. Microsoft.ManagedIdentity/userAssignedIdentities + enum: + - Microsoft.ManagedIdentity/userAssignedIdentities + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: UserAssignedIdentities + x-ms-azure-resource: true + IdentityProperties: + description: The properties associated with the identity. + properties: + clientId: + description: The id of the app associated with the identity. This is a random generated UUID by MSI. + format: uuid + readOnly: true + type: string + clientSecretUrl: + description: ' The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.' + readOnly: true + type: string + principalId: + description: The id of the service principal object associated with the created identity. + format: uuid + readOnly: true + type: string + tenantId: + description: The id of the tenant which the identity belongs to. + format: uuid + readOnly: true + type: string + title: Identity properties. + type: object + Operation: + description: Operation supported by the Microsoft.ManagedIdentity REST API. + properties: + display: + $ref: '#/definitions/OperationDisplay' + description: The object that describes the operation. + title: Operation Display. + name: + description: 'The name of the REST Operation. This is of the format {provider}/{resource}/{operation}.' + title: Operation Name. + type: string + title: Microsoft.ManagedIdentity Operation. + type: object + OperationDisplay: + description: The object that describes the operation. + properties: + description: + description: A description of the operation. + title: Operation description + type: string + operation: + description: 'The type of operation. For example: read, write, delete.' + title: Operation Type. + type: string + provider: + description: Friendly name of the resource provider. + title: Resource Provider Name. + type: string + resource: + description: The resource type on which the operation is performed. + title: Resource Type. + type: string + title: Operation Display. + OperationListResult: + description: A list of operations supported by Microsoft.ManagedIdentity Resource Provider. + properties: + nextLink: + description: 'The url to get the next page of results, if any.' + title: Next Link + type: string + value: + description: A list of operations supported by Microsoft.ManagedIdentity Resource Provider. + items: + $ref: '#/definitions/Operation' + title: Operations List. + type: array + title: Operations List. + UserAssignedIdentitiesListResult: + description: Values returned by the List operation. + properties: + nextLink: + description: 'The url to get the next page of results, if any.' + type: string + value: + description: The collection of userAssignedIdentities returned by the listing operation. + items: + $ref: '#/definitions/Identity' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2018-11-30/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2018-11-30/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..071651493cf8214c459dfd19487666b201ff5ccd --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/msi-ManagedIdentity/2018-11-30/swagger.yaml @@ -0,0 +1,511 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Managed Service Identity Client. + title: ManagedServiceIdentityClient + version: '2018-11-30' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: msi-ManagedIdentity + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Version of API to invoke. + in: query + name: api-version + required: true + type: string + ResourceGroupNameParameter: + description: The name of the Resource Group to which the identity belongs. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ResourceNameParameter: + description: The name of the identity resource. + in: path + name: resourceName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The Id of the Subscription to which the identity belongs. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.ManagedIdentity/operations: + get: + description: Lists available operations for the Microsoft.ManagedIdentity provider + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: The operation was successful. The response contains the list of available operations. + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + MsiOperationsList: + parameters: + api-version: '2018-11-30' + responses: + '200': + body: + nextLink: 'https://serviceRoot/providers/Microsoft.ManagedIdentity/operations?api-version=2018-11-30&$skiptoken=X''12345''' + value: + - display: + description: Gets an existing user assigned identity + operation: Get User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/read + - display: + description: Creates a new user assigned identity or updates the tags associated with an existing user assigned identity + operation: Create/Update User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/write + - display: + description: Deletes an existing user assigned identity + operation: Delete User Assigned Identity + provider: Managed Service Identity + resource: User Assigned Identities + name: Microsoft.ManagedIdentity/userAssignedIdentities/delete + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities': + get: + description: Lists all the userAssignedIdentities available under the specified subscription. + operationId: UserAssignedIdentities_ListBySubscription + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The list of userAssignedIdentities was retrieved and returned successfully. + schema: + $ref: '#/definitions/UserAssignedIdentitiesListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityListBySubscription: + parameters: + api-version: '2018-11-30' + subscriptionId: subid + responses: + '200': + body: + nextLink: 'https://serviceRoot/subscriptions/subId/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2018-11-30&$skiptoken=X''12345''' + value: + - id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities': + get: + description: Lists all the userAssignedIdentities available under the specified ResourceGroup. + operationId: UserAssignedIdentities_ListByResourceGroup + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The list of userAssignedIdentities was retrieved and returned successfully. + schema: + $ref: '#/definitions/UserAssignedIdentitiesListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityListByResourceGroup: + parameters: + api-version: '2018-11-30' + resourceGroupName: rgName + subscriptionId: subid + responses: + '200': + body: + nextLink: 'https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2018-11-30&$skiptoken=X''12345''' + value: + - id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}': + delete: + description: Deletes the identity. + operationId: UserAssignedIdentities_Delete + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. Deleted Identity. + '204': + description: The specified identity does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityDelete: + parameters: + api-version: '2018-11-30' + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': {} + '204': {} + get: + description: Gets the identity. + operationId: UserAssignedIdentities_Get + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The requested identity. + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityGet: + parameters: + api-version: '2018-11-30' + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + patch: + description: Update an identity in the specified subscription and resource group. + operationId: UserAssignedIdentities_Update + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters to update the identity + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Identity' + responses: + '200': + description: Updated identity + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityUpdate: + parameters: + api-version: '2018-11-30' + parameters: + location: cus + tags: + key1: value1 + key2: value2 + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + put: + description: Create or update an identity in the specified subscription and resource group. + operationId: UserAssignedIdentities_CreateOrUpdate + parameters: + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupNameParameter' + - $ref: '#/parameters/ResourceNameParameter' + - $ref: '#/parameters/ApiVersionParameter' + - description: Parameters to create or update the identity + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Identity' + responses: + '200': + description: Updated identity + schema: + $ref: '#/definitions/Identity' + '201': + description: Created identity + schema: + $ref: '#/definitions/Identity' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + x-ms-examples: + IdentityCreate: + parameters: + api-version: '2018-11-30' + parameters: + location: cus + tags: + key1: value1 + key2: value2 + resourceGroupName: rgName + resourceName: resourceName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities + '201': + body: + id: /subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName + location: cus + name: identityName + properties: + clientId: clientGUID + principalId: identityObjectID + tenantId: tenantGUID + tags: + key1: value1 + key2: value2 + type: Microsoft.ManagedIdentity/userAssignedIdentities +definitions: + CloudError: + description: An error response from the ManagedServiceIdentity service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: A list of additional details about the error. + x-ms-external: true + CloudErrorBody: + description: An error response from the ManagedServiceIdentity service. + properties: + code: + description: An identifier for the error. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + Identity: + description: Describes an identity resource. + properties: + id: + description: The id of the created identity. + readOnly: true + type: string + location: + description: The Azure region where the identity lives. + type: string + name: + description: The name of the created identity. + readOnly: true + type: string + properties: + $ref: '#/definitions/IdentityProperties' + description: The properties associated with the identity. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: The type of resource i.e. Microsoft.ManagedIdentity/userAssignedIdentities + enum: + - Microsoft.ManagedIdentity/userAssignedIdentities + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: UserAssignedIdentities + x-ms-azure-resource: true + IdentityProperties: + description: The properties associated with the identity. + properties: + clientId: + description: The id of the app associated with the identity. This is a random generated UUID by MSI. + format: uuid + readOnly: true + type: string + clientSecretUrl: + description: ' The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. If identity is user assigned, then the clientSecretUrl will not be present in the response, otherwise it will be present.' + readOnly: true + type: string + principalId: + description: The id of the service principal object associated with the created identity. + format: uuid + readOnly: true + type: string + tenantId: + description: The id of the tenant which the identity belongs to. + format: uuid + readOnly: true + type: string + title: Identity properties. + type: object + Operation: + description: Operation supported by the Microsoft.ManagedIdentity REST API. + properties: + display: + $ref: '#/definitions/OperationDisplay' + description: The object that describes the operation. + title: Operation Display. + name: + description: 'The name of the REST Operation. This is of the format {provider}/{resource}/{operation}.' + title: Operation Name. + type: string + title: Microsoft.ManagedIdentity Operation. + type: object + OperationDisplay: + description: The object that describes the operation. + properties: + description: + description: A description of the operation. + title: Operation description + type: string + operation: + description: 'The type of operation. For example: read, write, delete.' + title: Operation Type. + type: string + provider: + description: Friendly name of the resource provider. + title: Resource Provider Name. + type: string + resource: + description: The resource type on which the operation is performed. + title: Resource Type. + type: string + title: Operation Display. + OperationListResult: + description: A list of operations supported by Microsoft.ManagedIdentity Resource Provider. + properties: + nextLink: + description: 'The url to get the next page of results, if any.' + title: Next Link + type: string + value: + description: A list of operations supported by Microsoft.ManagedIdentity Resource Provider. + items: + $ref: '#/definitions/Operation' + title: Operations List. + type: array + title: Operations List. + UserAssignedIdentitiesListResult: + description: Values returned by the List operation. + properties: + nextLink: + description: 'The url to get the next page of results, if any.' + type: string + value: + description: The collection of userAssignedIdentities returned by the listing operation. + items: + $ref: '#/definitions/Identity' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-DataEncryptionKeys/2020-01-01-privatepreview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-DataEncryptionKeys/2020-01-01-privatepreview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b17ee80e82b2188cfcbaf5463ea43ff002d8eaea --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-DataEncryptionKeys/2020-01-01-privatepreview/swagger.yaml @@ -0,0 +1,333 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files, encryption keys, active directory administrator and configurations.' + title: MySQLManagementClient + version: 2020-01-01-privatepreview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-01-01-privatepreview/DataEncryptionKeys.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: mysql-DataEncryptionKeys + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +parameters: + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys': + get: + description: Gets a list of Server keys. + operationId: ServerKeys_ListByInstance + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the list of MySQL Server keys. + schema: + $ref: '#/definitions/ServerKeyListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerKeys + x-ms-examples: + List the keys for a MySQL Server.: + parameters: + api-version: 2020-01-01-privatepreview + resourceGroupName: testrg + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901 + kind: azurekeyvault + name: someVault_someKey_01234567890123456789012345678901 + properties: + creationDate: '2019-12-01T00:00:00.0Z' + serverKeyType: AzureKeyVault + uri: 'https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901' + type: Microsoft.DBforMySQL/servers/keys + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}': + delete: + description: Deletes the MySQL Server key with the given name. + operationId: ServerKeys_Delete + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the MySQL Server key to be deleted. + in: path + name: keyName + required: true + type: string + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully deleted the MySQL Server key. + '202': + description: Accepted + '204': + description: The specified MySQL Server key does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerKeys + x-ms-examples: + Delete the MySQL Server key: + parameters: + api-version: 2020-01-01-privatepreview + keyName: someVault_someKey_01234567890123456789012345678901 + resourceGroupName: testrg + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a MySQL Server key. + operationId: ServerKeys_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the MySQL Server key to be retrieved. + in: path + name: keyName + required: true + type: string + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the specified MySQL Server key. + schema: + $ref: '#/definitions/ServerKey' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerKeys + x-ms-examples: + Get the MySQL Server key: + parameters: + api-version: 2020-01-01-privatepreview + keyName: someVault_someKey_01234567890123456789012345678901 + resourceGroupName: testrg + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901 + kind: azurekeyvault + name: someVault_someKey_01234567890123456789012345678901 + properties: + creationDate: '2019-12-01T00:00:00.0Z' + serverKeyType: AzureKeyVault + uri: 'https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901' + type: Microsoft.DBforMySQL/servers/keys + put: + description: Creates or updates a MySQL Server key. + operationId: ServerKeys_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the MySQL Server key to be operated on (updated or created). + in: path + name: keyName + required: true + type: string + - description: The requested MySQL Server key resource state. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerKey' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully updated the MySQL Server key. + schema: + $ref: '#/definitions/ServerKey' + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerKeys + x-ms-examples: + Creates or updates a MySQL Server key: + parameters: + api-version: 2020-01-01-privatepreview + keyName: someVault_someKey_01234567890123456789012345678901 + parameters: + properties: + serverKeyType: AzureKeyVault + uri: 'https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901' + resourceGroupName: testrg + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/testserver/keys/someVault_someKey_01234567890123456789012345678901 + kind: azurekeyvault + name: omeVault_someKey_01234567890123456789012345678901 + properties: + creationDate: '2017-05-01T00:00:00.0Z' + serverKeyType: AzureKeyVault + uri: 'https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901' + type: Microsoft.DBforMySQL/servers/keys + '202': {} + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + ProxyResource: + description: Resource properties. + properties: + id: + description: Resource ID + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + ServerKey: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A MySQL Server key. + properties: + kind: + description: Kind of encryption protector. This is metadata used for the Azure portal experience. + readOnly: true + type: string + properties: + $ref: '#/definitions/ServerKeyProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + ServerKeyListResult: + description: A list of MySQL Server keys. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/ServerKey' + readOnly: true + type: array + type: object + ServerKeyProperties: + description: Properties for a key execution. + properties: + creationDate: + description: The key creation date. + format: date-time + readOnly: true + type: string + serverKeyType: + description: The key type like 'AzureKeyVault'. + enum: + - AzureKeyVault + type: string + x-ms-enum: + modelAsString: true + name: ServerKeyType + uri: + description: The URI of the key. + type: string + required: + - serverKeyType + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PerformanceRecommendations/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PerformanceRecommendations/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..88ee6883022b527f18da9761b9fc6207d0d28f6b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PerformanceRecommendations/2018-06-01/swagger.yaml @@ -0,0 +1,686 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2018-06-01/PerformanceRecommendations.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: mysql-PerformanceRecommendations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AdvisorNameParameter: + description: The advisor name for recommendation action. + in: path + name: advisorName + required: true + type: string + x-ms-parameter-location: method + LocationNameParameter: + description: The name of the location. + in: path + name: locationName + required: true + type: string + x-ms-parameter-location: method + OperationIdParameter: + description: The operation identifier. + in: path + name: operationId + required: true + type: string + x-ms-parameter-location: method + RecommendedActionNameParameter: + description: The recommended action name. + in: path + name: recommendedActionName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsAzureAsyncOperation/{operationId}': + get: + description: Recommendation action session operation status. + operationId: LocationBasedRecommendedActionSessionsOperationStatus_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/LocationNameParameter' + - $ref: '#/parameters/OperationIdParameter' + responses: + '200': + description: OK. + schema: + $ref: '#/definitions/RecommendedActionSessionsOperationStatus' + tags: + - LocationBasedRecommendedActionSessionsOperationStatus + x-ms-examples: + RecommendedActionSessionOperationStatus: + parameters: + api-version: '2018-06-01' + locationName: WestUS + operationId: aaaabbbb-cccc-dddd-0000-111122223333 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + name: aaaabbbb-cccc-dddd-0000-111122223333 + startTime: '2019-05-01T17:15:00Z' + status: succeeded + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsOperationResults/{operationId}': + get: + description: Recommendation action session operation result. + operationId: LocationBasedRecommendedActionSessionsResult_List + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - $ref: '#/parameters/LocationNameParameter' + - $ref: '#/parameters/OperationIdParameter' + responses: + '200': + description: Created + schema: + $ref: '#/definitions/RecommendationActionsResultList' + '201': + description: Created + schema: + $ref: '#/definitions/RecommendationActionsResultList' + tags: + - LocationBasedRecommendedActionSessionsResult + x-ms-examples: + RecommendedActionSessionResult: + parameters: + api-version: '2018-06-01' + locationName: WestUS + operationId: aaaabbbb-cccc-dddd-0000-111122223333 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + '201': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors': + get: + description: List recommendation action advisors. + operationId: Advisors_ListByServer + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/AdvisorsResultList' + tags: + - Advisors + x-ms-examples: + AdvisorsListByServer: + parameters: + api-version: '2018-06-01' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/advisors/Index + name: Index + properties: {} + type: Microsoft.DBforMySQL/servers/advisors + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}': + get: + description: Get a recommendation action advisor. + operationId: Advisors_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Advisor' + tags: + - Advisors + x-ms-examples: + AdvisorsGet: + parameters: + advisorName: Index + api-version: '2018-06-01' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/advisors/Index + name: Index + properties: {} + type: Microsoft.DBforMySQL/servers/advisors + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/createRecommendedActionSession': + post: + description: Create recommendation action session for the advisor. + operationId: CreateRecommendedActionSession + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - description: The name of the database. + in: query + name: databaseName + required: true + type: string + responses: + '200': + description: OK + '202': + description: Accepted + tags: + - RecommendedActionSessions + x-ms-examples: + RecommendedActionSessionCreate: + parameters: + advisorName: Index + api-version: '2018-06-01' + databaseName: someDatabaseName + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions': + get: + description: Retrieve recommended actions from the advisor. + operationId: RecommendedActions_ListByServer + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - description: The recommendation action session identifier. + in: query + name: sessionId + required: false + type: string + responses: + '200': + description: OK + schema: + $ref: '#/definitions/RecommendationActionsResultList' + tags: + - RecommendedActions + x-ms-examples: + RecommendedActionsListByServer: + parameters: + advisorName: Index + api-version: '2018-06-01' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}': + get: + description: Retrieve recommended actions from the advisor. + operationId: RecommendedActions_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - $ref: '#/parameters/RecommendedActionNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/RecommendationAction' + tags: + - RecommendedActions + x-ms-examples: + RecommendedActionsGet: + parameters: + advisorName: Index + api-version: '2018-06-01' + recommendedActionName: Index-1 + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions +definitions: + Advisor: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: Represents a recommendation action advisor. + properties: + properties: + $ref: '#/definitions/AdvisorProperties' + description: The properties of a recommendation action advisor. + x-ms-client-flatten: true + AdvisorProperties: + description: The properties of a recommendation action advisor. + properties: {} + AdvisorsResultList: + description: A list of query statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of recommendation action advisors. + items: + $ref: '#/definitions/Advisor' + readOnly: true + type: array + type: object + RecommendationAction: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: Represents a Recommendation Action. + properties: + properties: + $ref: '#/definitions/RecommendationActionProperties' + description: The properties of a recommendation action. + x-ms-client-flatten: true + RecommendationActionProperties: + description: The properties of a recommendation action. + properties: + actionId: + description: Recommendation action identifier. + format: int32 + type: integer + advisorName: + description: Advisor name. + type: string + createdTime: + description: Recommendation action creation time. + format: date-time + type: string + details: + additionalProperties: + type: string + description: Recommendation action details. + type: object + expirationTime: + description: Recommendation action expiration time. + format: date-time + type: string + reason: + description: Recommendation action reason. + type: string + recommendationType: + description: Recommendation action type. + type: string + sessionId: + description: Recommendation action session identifier. + type: string + RecommendationActionsResultList: + description: A list of recommendation actions. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of recommendation action advisors. + items: + $ref: '#/definitions/RecommendationAction' + readOnly: true + type: array + type: object + RecommendedActionSessionsOperationStatus: + description: Recommendation action session operation status. + properties: + name: + description: Operation identifier. + type: string + startTime: + description: Operation start time. + format: date-time + type: string + status: + description: Operation status. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01-privatepreview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01-privatepreview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5878c99c9bf9580a32f825fdbd8c63ca385929a8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01-privatepreview/swagger.yaml @@ -0,0 +1,440 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: 2018-06-01-privatepreview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: mysql-PrivateEndpointConnections + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + x-ms-parameter-location: client + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string + x-ms-parameter-location: client +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections': + get: + description: Gets all private endpoint connections on a server. + operationId: PrivateEndpointConnections_ListByServer + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved private endpoint connections. + schema: + $ref: '#/definitions/PrivateEndpointConnectionListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets list of private endpoint connections on a server.: + parameters: + api-version: 2018-06-01-privatepreview + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name-2 + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2 + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}': + delete: + description: Deletes a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_Delete + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully deleted private endpoint connection. + '202': + description: Accepted + '204': + description: Private endpoint connection does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Deletes a private endpoint connection with a given name.: + parameters: + api-version: 2018-06-01-privatepreview + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a private endpoint connection. + operationId: PrivateEndpointConnections_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the private endpoint connection. + in: path + name: privateEndpointConnectionName + required: true + type: string + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved a specified private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets private endpoint connection.: + parameters: + api-version: 2018-06-01-privatepreview + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + patch: + description: Updates private endpoint connection with the specified tags. + operationId: PrivateEndpointConnections_UpdateTags + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - description: Parameters supplied to the Update private endpoint connection Tags operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TagsObject' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + summary: Updates tags on private endpoint connection. + tags: + - PrivateEndpointConnections + x-ms-examples: + Update private endpoint connection Tags: + parameters: + api-version: 2018-06-01-privatepreview + parameters: + tags: + key1: val1 + key2: val2 + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Approved by johndoe@contoso.com + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + x-ms-long-running-operation: true + put: + description: Approve or reject a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully approved or rejected private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Approve or reject a private endpoint connection with a given name.: + parameters: + api-version: 2018-06-01-privatepreview + parameters: + properties: + privateLinkServiceConnectionState: + description: Approved by johndoe@contoso.com + status: Approved + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Approved by johndoe@contoso.com + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + '202': {} + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + PrivateEndpointConnection: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A private endpoint connection + properties: + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + PrivateEndpointConnectionListResult: + description: A list of private endpoint connections. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateEndpointConnection' + readOnly: true + type: array + type: object + PrivateEndpointConnectionProperties: + description: Properties of a private endpoint connection. + properties: + privateEndpoint: + $ref: '#/definitions/PrivateEndpointProperty' + description: Private endpoint which the connection belongs to. + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionStateProperty' + description: Connection state of the private endpoint connection. + provisioningState: + description: State of the private endpoint connection. + readOnly: true + type: string + type: object + PrivateEndpointProperty: + properties: + id: + description: Resource id of the private endpoint. + type: string + type: object + x-ms-azure-resource: true + PrivateLinkServiceConnectionStateProperty: + properties: + actionsRequired: + description: The actions required for private link service connection. + readOnly: true + type: string + description: + description: The private link service connection description. + type: string + status: + description: The private link service connection status. + type: string + required: + - status + - description + type: object + ProxyResource: + allOf: + - $ref: '#/definitions/Resource' + description: ARM proxy resource. + properties: {} + type: object + Resource: + description: ARM resource. + properties: + id: + description: Resource ID. + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + type: object + x-ms-azure-resource: true + TagsObject: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e647d10f8c0cfaf6393738a1bf1c4cc5cf60d636 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateEndpointConnections/2018-06-01/swagger.yaml @@ -0,0 +1,518 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2018-06-01/PrivateEndpointConnections.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: mysql-PrivateEndpointConnections + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections': + get: + description: Gets all private endpoint connections on a server. + operationId: PrivateEndpointConnections_ListByServer + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully retrieved private endpoint connections. + schema: + $ref: '#/definitions/PrivateEndpointConnectionListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets list of private endpoint connections on a server.: + parameters: + api-version: '2018-06-01' + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + - id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2 + name: private-endpoint-connection-name-2 + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2 + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}': + delete: + description: Deletes a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_Delete + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully deleted private endpoint connection. + '202': + description: Accepted + '204': + description: Private endpoint connection does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Deletes a private endpoint connection with a given name.: + parameters: + api-version: '2018-06-01' + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a private endpoint connection. + operationId: PrivateEndpointConnections_Get + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the private endpoint connection. + in: path + name: privateEndpointConnectionName + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully retrieved a specified private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Gets private endpoint connection.: + parameters: + api-version: '2018-06-01' + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + patch: + description: Updates private endpoint connection with the specified tags. + operationId: PrivateEndpointConnections_UpdateTags + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - description: Parameters supplied to the Update private endpoint connection Tags operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TagsObject' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + summary: Updates tags on private endpoint connection. + tags: + - PrivateEndpointConnections + x-ms-examples: + Update private endpoint connection Tags: + parameters: + api-version: '2018-06-01' + parameters: + tags: + key1: val1 + key2: val2 + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Approved by johndoe@contoso.com + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + x-ms-long-running-operation: true + put: + description: Approve or reject a private endpoint connection with a given name. + operationId: PrivateEndpointConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - in: path + name: privateEndpointConnectionName + required: true + type: string + - in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully approved or rejected private endpoint connection. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateEndpointConnections + x-ms-examples: + Approve or reject a private endpoint connection with a given name.: + parameters: + api-version: '2018-06-01' + parameters: + properties: + privateLinkServiceConnectionState: + description: Approved by johndoe@contoso.com + status: Approved + privateEndpointConnectionName: private-endpoint-connection-name + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name + name: private-endpoint-connection-name + properties: + privateEndpoint: + id: /subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name + privateLinkServiceConnectionState: + actionsRequired: None + description: Approved by johndoe@contoso.com + status: Approved + provisioningState: Ready + type: Microsoft.DBforMySQL/servers/privateEndpointConnections + '202': {} + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + description: The resource management error response. + properties: + additionalInfo: + description: The error additional info. + items: + description: The resource management error additional info. + properties: + info: + description: The additional info. + readOnly: true + type: object + type: + description: The additional info type. + readOnly: true + type: string + readOnly: true + type: array + code: + description: The error code. + readOnly: true + type: string + details: + description: The error details. + items: + $ref: '#/definitions/ErrorResponse' + readOnly: true + type: array + message: + description: The error message. + readOnly: true + type: string + target: + description: The error target. + readOnly: true + type: string + x-ms-external: true + ErrorResponse: {} + PrivateEndpointConnection: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: A private endpoint connection + properties: + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + PrivateEndpointConnectionListResult: + description: A list of private endpoint connections. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateEndpointConnection' + readOnly: true + type: array + type: object + PrivateEndpointConnectionProperties: + description: Properties of a private endpoint connection. + properties: + privateEndpoint: + $ref: '#/definitions/PrivateEndpointProperty' + description: Private endpoint which the connection belongs to. + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionStateProperty' + description: Connection state of the private endpoint connection. + provisioningState: + description: State of the private endpoint connection. + readOnly: true + type: string + type: object + PrivateEndpointProperty: + properties: + id: + description: Resource id of the private endpoint. + type: string + type: object + x-ms-azure-resource: true + PrivateLinkServiceConnectionStateProperty: + properties: + actionsRequired: + description: The actions required for private link service connection. + readOnly: true + type: string + description: + description: The private link service connection description. + type: string + status: + description: The private link service connection status. + type: string + required: + - status + - description + type: object + TagsObject: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01-privatepreview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01-privatepreview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..97450a7d9354a5167b21d12b1f4958229663f286 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01-privatepreview/swagger.yaml @@ -0,0 +1,236 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: 2018-06-01-privatepreview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: mysql-PrivateLinkResources + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + x-ms-parameter-location: client + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string + x-ms-parameter-location: client +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources': + get: + description: Gets the private link resources for MySQL server. + operationId: PrivateLinkResources_ListByServer + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved private link resources. + schema: + $ref: '#/definitions/PrivateLinkResourceListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateLinkResources + x-ms-examples: + Gets private link resources for MySQL.: + parameters: + api-version: 2018-06-01-privatepreview + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr + name: plr + properties: + groupId: mysqlServer + requiredMembers: + - mysqlServer + type: Microsoft.DBforMySQL/servers/privateLinkResources + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}': + get: + description: Gets a private link resource for MySQL server. + operationId: PrivateLinkResources_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the private link resource. + in: path + name: groupName + required: true + type: string + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved private link resources. + schema: + $ref: '#/definitions/PrivateLinkResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateLinkResources + x-ms-examples: + Gets a private link resource for MySQL.: + parameters: + api-version: 2018-06-01-privatepreview + groupName: plr + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr + name: plr + properties: + groupId: mysqlServer + requiredMembers: + - mysqlServer + type: Microsoft.DBforMySQL/servers/privateLinkResources +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + PrivateLinkResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A private link resource + properties: + properties: + $ref: '#/definitions/PrivateLinkResourceProperties' + description: The private link resource group id. + readOnly: true + type: object + PrivateLinkResourceListResult: + description: A list of private link resources + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateLinkResource' + readOnly: true + type: array + type: object + PrivateLinkResourceProperties: + description: Properties of a private link resource. + properties: + groupId: + description: The private link resource group id. + readOnly: true + type: string + requiredMembers: + description: The private link resource required member names. + items: + type: string + readOnly: true + type: array + type: object + ProxyResource: + allOf: + - $ref: '#/definitions/Resource' + description: ARM proxy resource. + properties: {} + type: object + Resource: + description: ARM resource. + properties: + id: + description: Resource ID. + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + type: object + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..224301ba5d1f2ad81aa7f61f1ff182a9bfc31b96 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-PrivateLinkResources/2018-06-01/swagger.yaml @@ -0,0 +1,260 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2018-06-01/PrivateLinkResources.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: mysql-PrivateLinkResources + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources': + get: + description: Gets the private link resources for MySQL server. + operationId: PrivateLinkResources_ListByServer + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully retrieved private link resources. + schema: + $ref: '#/definitions/PrivateLinkResourceListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateLinkResources + x-ms-examples: + Gets private link resources for MySQL.: + parameters: + api-version: '2018-06-01' + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + value: + - id: subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr + name: plr + properties: + groupId: mysqlServer + requiredMembers: + - mysqlServer + type: Microsoft.DBforMySQL/servers/privateLinkResources + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}': + get: + description: Gets a private link resource for MySQL server. + operationId: PrivateLinkResources_Get + parameters: + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the private link resource. + in: path + name: groupName + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + responses: + '200': + description: Successfully retrieved private link resources. + schema: + $ref: '#/definitions/PrivateLinkResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - PrivateLinkResources + x-ms-examples: + Gets a private link resource for MySQL.: + parameters: + api-version: '2018-06-01' + groupName: plr + resourceGroupName: Default + serverName: test-svr + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr + name: plr + properties: + groupId: mysqlServer + requiredMembers: + - mysqlServer + type: Microsoft.DBforMySQL/servers/privateLinkResources +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + description: The resource management error response. + properties: + additionalInfo: + description: The error additional info. + items: + description: The resource management error additional info. + properties: + info: + description: The additional info. + readOnly: true + type: object + type: + description: The additional info type. + readOnly: true + type: string + readOnly: true + type: array + code: + description: The error code. + readOnly: true + type: string + details: + description: The error details. + items: + $ref: '#/definitions/ErrorResponse' + readOnly: true + type: array + message: + description: The error message. + readOnly: true + type: string + target: + description: The error target. + readOnly: true + type: string + x-ms-external: true + ErrorResponse: {} + PrivateLinkResource: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: A private link resource + properties: + properties: + $ref: '#/definitions/PrivateLinkResourceProperties' + description: The private link resource group id. + readOnly: true + type: object + PrivateLinkResourceListResult: + description: A list of private link resources + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/PrivateLinkResource' + readOnly: true + type: array + type: object + PrivateLinkResourceProperties: + description: Properties of a private link resource. + properties: + groupId: + description: The private link resource group id. + readOnly: true + type: string + requiredMembers: + description: The private link resource required member names. + items: + type: string + readOnly: true + type: array + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-QueryPerformanceInsights/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-QueryPerformanceInsights/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4519b0510f02771e4263a56e58b41a11c1b4e2f7 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql-QueryPerformanceInsights/2018-06-01/swagger.yaml @@ -0,0 +1,749 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.' + title: MySQLManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2018-06-01/QueryPerformanceInsights.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: mysql-QueryPerformanceInsights + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + QueryIdParameter: + description: The Query-Store query identifier. + in: path + name: queryId + required: true + type: string + x-ms-parameter-location: method + QueryStatisticIdParameter: + description: The Query Statistic identifier. + in: path + name: queryStatisticId + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + WaitStatisticsIdParameter: + description: The Wait Statistic identifier. + in: path + name: waitStatisticsId + required: true + type: string + x-ms-parameter-location: method +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts': + get: + description: Retrieve the Query-Store query texts for specified queryIds. + operationId: QueryTexts_ListByServer + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - collectionFormat: multi + description: The query identifiers + in: query + items: + type: string + name: queryIds + required: true + type: array + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryTextsResultList' + tags: + - QueryTexts + x-ms-examples: + QueryTextsListByServer: + parameters: + api-version: '2018-06-01' + queryIds: + - '1' + - '2' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/1 + name: '1' + properties: + queryId: '1' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?' + type: Microsoft.DBforMySQL/servers/queryTexts + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/2 + name: '2' + properties: + queryId: '2' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME LIKE ?' + type: Microsoft.DBforMySQL/servers/queryTexts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts/{queryId}': + get: + description: Retrieve the Query-Store query texts for the queryId. + operationId: QueryTexts_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/QueryIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryText' + tags: + - QueryTexts + x-ms-examples: + QueryTextsGet: + parameters: + api-version: '2018-06-01' + queryId: 1 + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/1 + name: '1' + properties: + queryId: '1' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?' + type: Microsoft.DBforMySQL/servers/queryTexts + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics': + get: + description: Retrieve the Query-Store top queries for specified metric and aggregation. + operationId: TopQueryStatistics_ListByServer + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for retrieving top query statistics. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopQueryStatisticsInput' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/TopQueryStatisticsResultList' + tags: + - TopQueryStatistics + x-ms-examples: + TopQueryStatisticsListByServer: + parameters: + api-version: '2018-06-01' + parameters: + properties: + aggregationFunction: avg + aggregationWindow: PT15M + numberOfTopQueries: 5 + observationEndTime: '2019-05-07T20:00:00.000Z' + observationStartTime: '2019-05-01T20:00:00.000Z' + observedMetric: duration + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration + name: 66-636923268000000000-636923277000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-01T17:15:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 123.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-01T17:00:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636924483000000000-636924492000000000-avg-duration + name: 66-636924483000000000-636924492000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-03T03:00:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 1712.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-03T02:45:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}': + get: + description: Retrieve the query statistic for specified identifier. + operationId: TopQueryStatistics_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/QueryStatisticIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryStatistic' + tags: + - TopQueryStatistics + x-ms-examples: + TopQueryStatisticsGet: + parameters: + api-version: '2018-06-01' + queryStatisticId: 66-636923268000000000-636923277000000000-avg-duration + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration + name: 66-636923268000000000-636923277000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-01T17:15:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 123.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-01T17:00:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics': + get: + description: Retrieve wait statistics for specified aggregation window. + operationId: WaitStatistics_ListByServer + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for retrieving wait statistics. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/WaitStatisticsInput' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/WaitStatisticsResultList' + tags: + - WaitStatistics + x-ms-examples: + WaitStatisticsListByServer: + parameters: + api-version: '2018-06-01' + parameters: + properties: + aggregationWindow: PT15M + observationEndTime: '2019-05-07T20:00:00.000Z' + observationStartTime: '2019-05-01T20:00:00.000Z' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + name: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + properties: + count: 2 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-06T17:45:00Z' + eventName: wait/io/socket/sql/client_connection + eventTypeName: send + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 12.345 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics + - id: '/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMySQL/servers/hyshim-wait-stats-fix/waitStatistics/636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0' + name: '636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0' + properties: + count: 4 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMySQL/servers/hyshim-wait-stats-fix/databases/ + endTime: '2019-05-06T17:45:00Z' + eventName: 'wait/synch/mutex/mysys/THR_LOCK::mutex' + eventTypeName: lock + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 56.789 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics/{waitStatisticsId}': + get: + description: Retrieve wait statistics for specified identifier. + operationId: WaitStatistics_Get + parameters: + - description: The API version to use for this operation. + in: query + minLength: 1 + name: api-version + required: true + type: string + - description: The ID of the target subscription. + in: path + minLength: 1 + name: subscriptionId + required: true + type: string + - description: The name of the resource group. The name is case insensitive. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/WaitStatisticsIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/WaitStatistic' + tags: + - WaitStatistics + x-ms-examples: + WaitStatisticsGet: + parameters: + api-version: '2018-06-01' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + waitStatisticsId: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + name: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + properties: + count: 3 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-06T17:45:00Z' + eventName: wait/io/socket/sql/client_connection + eventTypeName: send + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 12.345 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics +definitions: + QueryStatistic: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: Represents a Query Statistic. + properties: + properties: + $ref: '#/definitions/QueryStatisticProperties' + description: The properties of a query statistic. + x-ms-client-flatten: true + QueryStatisticProperties: + description: The properties of a query statistic. + properties: + aggregationFunction: + description: Aggregation function name. + type: string + databaseNames: + description: The list of database names. + items: + type: string + type: array + endTime: + description: Observation end time. + format: date-time + type: string + metricDisplayName: + description: Metric display name. + type: string + metricName: + description: Metric name. + type: string + metricValue: + description: Metric value. + format: double + type: number + metricValueUnit: + description: Metric value unit. + type: string + queryExecutionCount: + description: Number of query executions in this time interval. + format: int64 + type: integer + queryId: + description: Database query identifier. + type: string + startTime: + description: Observation start time. + format: date-time + type: string + QueryText: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: Represents a Query Text. + properties: + properties: + $ref: '#/definitions/QueryTextProperties' + description: The properties of a query text. + x-ms-client-flatten: true + QueryTextProperties: + description: The properties of a query text. + properties: + queryId: + description: Query identifier unique to the server. + type: string + queryText: + description: Query text. + type: string + QueryTextsResultList: + description: A list of query texts. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of query texts. + items: + $ref: '#/definitions/QueryText' + readOnly: true + type: array + type: object + TopQueryStatisticsInput: + description: Input to get top query statistics + properties: + properties: + $ref: '#/definitions/TopQueryStatisticsInputProperties' + description: The properties of a wait statistics input. + x-ms-client-flatten: true + required: + - properties + TopQueryStatisticsInputProperties: + description: The properties for input to get top query statistics + properties: + aggregationFunction: + description: Aggregation function name. + type: string + aggregationWindow: + description: Aggregation interval type in ISO 8601 format. + type: string + numberOfTopQueries: + description: Max number of top queries to return. + format: int32 + type: integer + observationEndTime: + description: Observation end time. + format: date-time + type: string + observationStartTime: + description: Observation start time. + format: date-time + type: string + observedMetric: + description: Observed metric name. + type: string + required: + - numberOfTopQueries + - aggregationFunction + - observedMetric + - observationStartTime + - observationEndTime + - aggregationWindow + TopQueryStatisticsResultList: + description: A list of query statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of top query statistics. + items: + $ref: '#/definitions/QueryStatistic' + readOnly: true + type: array + type: object + WaitStatistic: + allOf: + - allOf: + - properties: + id: + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + readOnly: true + type: string + name: + description: The name of the resource + readOnly: true + type: string + type: + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + readOnly: true + type: string + x-ms-azure-resource: true + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + description: Represents a Wait Statistic. + properties: + properties: + $ref: '#/definitions/WaitStatisticProperties' + description: The properties of a wait statistic. + x-ms-client-flatten: true + WaitStatisticProperties: + description: The properties of a wait statistic. + properties: + count: + description: Wait event count observed in this time interval. + format: int64 + type: integer + databaseName: + description: Database Name. + type: string + endTime: + description: Observation end time. + format: date-time + type: string + eventName: + description: Wait event name. + type: string + eventTypeName: + description: Wait event type name. + type: string + queryId: + description: Database query identifier. + format: int64 + type: integer + startTime: + description: Observation start time. + format: date-time + type: string + totalTimeInMs: + description: Total time of wait in milliseconds in this time interval. + format: double + type: number + userId: + description: Database user identifier. + format: int64 + type: integer + WaitStatisticsInput: + description: Input to get wait statistics + properties: + properties: + $ref: '#/definitions/WaitStatisticsInputProperties' + description: The properties of a wait statistics input. + x-ms-client-flatten: true + required: + - properties + WaitStatisticsInputProperties: + description: The properties for input to get wait statistics + properties: + aggregationWindow: + description: Aggregation interval type in ISO 8601 format. + type: string + observationEndTime: + description: Observation end time. + format: date-time + type: string + observationStartTime: + description: Observation start time. + format: date-time + type: string + required: + - observationStartTime + - observationEndTime + - aggregationWindow + WaitStatisticsResultList: + description: A list of wait statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of wait statistics. + items: + $ref: '#/definitions/WaitStatistic' + readOnly: true + type: array + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-04-30-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-04-30-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4e9ffbff223a0fb6c0d8e9059de4adfd4ab6bc9d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-04-30-preview/swagger.yaml @@ -0,0 +1,1909 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, log files and configurations.' + title: MySQLManagementClient + version: 2017-04-30-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-04-30-preview/mysql.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: mysql + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + ConfigurationNameParameter: + description: The name of the server configuration. + in: path + name: configurationName + required: true + type: string + x-ms-parameter-location: method + DatabaseNameParameter: + description: The name of the database. + in: path + name: databaseName + required: true + type: string + x-ms-parameter-location: method + FirewallRuleNameParameter: + description: The name of the server firewall rule. + in: path + name: firewallRuleName + required: true + type: string + x-ms-parameter-location: method + LocationNameParameter: + description: The name of the location. + in: path + name: locationName + required: true + type: string + x-ms-parameter-location: method + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.DBforMySQL/operations: + get: + description: Lists all of the available REST API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + tags: + - Operations + x-ms-examples: + OperationList: + parameters: + api-version: 2017-04-30-preview + responses: + '200': + body: + value: + - display: + description: Return the list of firewall rules for a server or gets the properties for the specified firewall rule. + operation: List/Get Firewall Rules + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/read + - display: + description: Creates a firewall rule with the specified parameters or update an existing rule. + operation: Create/Update Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/write + - display: + description: Deletes an existing firewall rule. + operation: Delete Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/delete + - display: + description: Return the list of servers or gets the properties for the specified server. + operation: List/Get MySQL Servers + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/read + - display: + description: Creates a server with the specified parameters or update the properties or tags for the specified server. + operation: Create/Update MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/write + - display: + description: Deletes an existing server. + operation: Delete MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/delete + - display: + description: Returns the list of Performance Tiers available. + operation: List Performance Tiers + provider: Microsoft DB for MySQL + resource: Performance Tiers + name: Microsoft.DBforMySQL/performanceTiers/read + - display: + description: Return types of metrics that are available for databases + operation: Get database metric definitions + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/metricDefinitions/read + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Average + displayDescription: CPU percent + displayName: CPU percent + fillGapWithZero: true + name: cpu_percent + unit: Percent + - aggregationType: Average + displayDescription: Compute limit + displayName: Compute limit + name: compute_limit + unit: Count + - aggregationType: Average + displayDescription: Compute percentage + displayName: Compute percentage + fillGapWithZero: true + name: compute_consumption_percent + unit: Percent + - aggregationType: Average + displayDescription: Memory percent + displayName: Memory percent + fillGapWithZero: true + name: memory_percent + unit: Percent + - aggregationType: Average + displayDescription: IO percent + displayName: IO percent + fillGapWithZero: true + name: io_consumption_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage percentage + displayName: Storage percentage + name: storage_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage used + displayName: Storage used + name: storage_used + unit: Bytes + - aggregationType: Average + displayDescription: Storage limit + displayName: Storage limit + name: storage_limit + unit: Bytes + - aggregationType: Average + displayDescription: Total active connections + displayName: Total active connections + fillGapWithZero: true + name: active_connections + unit: Count + - aggregationType: Average + displayDescription: Total failed connections + displayName: Total failed connections + fillGapWithZero: true + name: connections_failed + unit: Count + - display: + description: Gets the disagnostic setting for the resource + operation: Read diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/read + - display: + description: Creates or updates the diagnostic setting for the resource + operation: Write diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/write + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability': + post: + description: Check the availability of name for resource + operationId: CheckNameAvailability_Execute + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: The required parameters for checking if resource name is available. + in: body + name: nameAvailabilityRequest + required: true + schema: + $ref: '#/definitions/NameAvailabilityRequest' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/NameAvailability' + tags: + - CheckNameAvailability + x-ms-examples: + NameAvailability: + parameters: + api-version: 2017-04-30-preview + nameAvailabilityRequest: + name: name1 + type: Microsoft.DBforMySQL + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + message: '' + nameAvailable: true + reason: '' + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers': + get: + description: List all the performance tiers at specified location in a given subscription. + operationId: LocationBasedPerformanceTier_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LocationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PerformanceTierListResult' + tags: + - LocationBasedPerformanceTier + x-ms-examples: + PerformanceTiersList: + parameters: + api-version: 2017-04-30-preview + locationName: WestUS + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - backupRetentionDays: 7 + id: Basic + serviceLevelObjectives: + - dtu: 50 + edition: Basic + id: MYSQLB50 + storageMB: 51200 + - dtu: 100 + edition: Basic + id: MYSQLB100 + storageMB: 51200 + - backupRetentionDays: 35 + id: Standard + serviceLevelObjectives: + - dtu: 100 + edition: Standard + id: MYSQLS100 + storageMB: 128000 + - dtu: 200 + edition: Standard + id: MYSQLS200 + storageMB: 128000 + - dtu: 400 + edition: Standard + id: MYSQLS400 + storageMB: 128000 + - dtu: 800 + edition: Standard + id: MYSQLS800 + storageMB: 128000 + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/performanceTiers': + get: + description: List all the performance tiers in a given subscription. + operationId: PerformanceTiers_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PerformanceTierListResult' + tags: + - PerformanceTiers + x-ms-examples: + PerformanceTiersList: + parameters: + api-version: 2017-04-30-preview + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - backupRetentionDays: 7 + id: Basic + serviceLevelObjectives: + - dtu: 50 + edition: Basic + id: MYSQLB50 + storageMB: 51200 + - dtu: 100 + edition: Basic + id: MYSQLB100 + storageMB: 51200 + - backupRetentionDays: 35 + id: Standard + serviceLevelObjectives: + - dtu: 100 + edition: Standard + id: MYSQLS100 + storageMB: 128000 + - dtu: 200 + edition: Standard + id: MYSQLS200 + storageMB: 128000 + - dtu: 400 + edition: Standard + id: MYSQLS400 + storageMB: 128000 + - dtu: 800 + edition: Standard + id: MYSQLS800 + storageMB: 128000 + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given subscription. + operationId: Servers_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerList: + parameters: + api-version: 2017-04-30-preview + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/serv1 + location: onebox + name: serv1 + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: serv1.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup2/providers/Microsoft.DBforMySQL/servers/serv2 + location: onebox + name: serv2 + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: serv2.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given resource group. + operationId: Servers_ListByResourceGroup + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerListByResourceGroup: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/serv1 + location: onebox + name: serv1 + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: serv1.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}': + delete: + description: Deletes a server. + operationId: Servers_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Servers + x-ms-examples: + ServerDelete: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server. + operationId: Servers_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + tags: + - Servers + x-ms-examples: + ServerGet: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + patch: + description: Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. + operationId: Servers_Update + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerUpdateParameters' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + ServerUpdate: + parameters: + api-version: 2017-04-30-preview + parameters: + properties: + administratorLoginPassword: newpassword + sslEnforcement: Disabled + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Disabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + put: + description: Creates a new server or updates an existing server. The update action will overwrite the existing server. + operationId: Servers_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for creating or updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerForCreate' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '201': + description: Created + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + ServerCreate: + parameters: + api-version: 2017-04-30-preview + parameters: + location: OneBox + properties: + administratorLogin: cloudsa + administratorLoginPassword: password + createMode: Default + sslEnforcement: Enabled + storageMB: 1024 + sku: + capacity: 100 + name: SkuName + tier: Basic + tags: + ElasticServer: '1' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: onebox + name: testserver + properties: + administratorLogin: cloudsa + fullyQualifiedDomainName: testserver.test-vm1.onebox.xdb.mscds.com + sslEnforcement: Enabled + storageMB: 1024 + userVisibleState: Ready + sku: + capacity: 100 + name: MYSQLS3M100 + tier: Basic + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations': + get: + description: List all the configurations in a given server. + operationId: Configurations_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ConfigurationListResult' + tags: + - Configurations + x-ms-examples: + ConfigurationList: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/div_precision_increment + name: div_precision_increment + properties: + allowedValues: 0-30 + dataType: Integer + defaultValue: '4' + description: Number of digits by which to increase the scale of the result of division operations. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/group_concat_max_len + name: group_concat_max_len + properties: + allowedValues: 4-16777216 + dataType: Integer + defaultValue: '1024' + description: Maximum allowed result length in bytes for the GROUP_CONCAT(). + source: system-default + value: '1024' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/innodb_adaptive_hash_index + name: innodb_adaptive_hash_index + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'ON' + description: Whether innodb adaptive hash indexes are enabled or disabled. + source: system-default + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/innodb_lock_wait_timeout + name: innodb_lock_wait_timeout + properties: + allowedValues: 1-3600 + dataType: Integer + defaultValue: '50' + description: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. + source: system-default + value: '50' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/interactive_timeout + name: interactive_timeout + properties: + allowedValues: 10-1800 + dataType: Integer + defaultValue: '1800' + description: Number of seconds the server waits for activity on an interactive connection before closing it. + source: system-default + value: '1800' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/log_queries_not_using_indexes + name: log_queries_not_using_indexes + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Logs queries that are expected to retrieve all rows to slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/log_throttle_queries_not_using_indexes + name: log_throttle_queries_not_using_indexes + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '0' + description: Limits the number of such queries per minute that can be written to the slow query log. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/log_slow_admin_statements + name: log_slow_admin_statements + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Include slow administrative statements in the statements written to the slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/log_bin_trust_function_creators + name: log_bin_trust_function_creators + properties: + allowedValues: 'ON,OFF,FALSE' + dataType: Enumeration + defaultValue: 'OFF' + description: This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/long_query_time + name: long_query_time + properties: + allowedValues: 1-1E+100 + dataType: Numeric + defaultValue: '10' + description: 'If a query takes longer than this many seconds, the server increments the Slow_queries status variable.' + source: system-default + value: '10' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/min_examined_row_limit + name: min_examined_row_limit + properties: + allowedValues: 0-18446744073709551615 + dataType: Integer + defaultValue: '0' + description: Can be used to cause queries which examine fewer than the stated number of rows not to be logged. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/slow_query_log + name: slow_query_log + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Enable or disable the slow query log + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/sql_mode + name: sql_mode + properties: + allowedValues: ',ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES' + dataType: Set + defaultValue: '' + description: The current server SQL mode. + source: system-default + value: '' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/wait_timeout + name: wait_timeout + properties: + allowedValues: 60-240 + dataType: Integer + defaultValue: '120' + description: The number of seconds the server waits for activity on a noninteractive connection before closing it. + source: system-default + value: '120' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/server_id + name: server_id + properties: + allowedValues: 1000-4294967295 + dataType: Integer + defaultValue: '1000' + description: 'The server ID, used in replication to give each master and slave a unique identity.' + source: user-override + value: '1129667931' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/max_allowed_packet + name: max_allowed_packet + properties: + allowedValues: 1024-1073741824 + dataType: Integer + defaultValue: '536870912' + description: 'The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.' + source: system-default + value: '536870912' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/slave_net_timeout + name: slave_net_timeout + properties: + allowedValues: 30-3600 + dataType: Integer + defaultValue: '60' + description: 'The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.' + source: system-default + value: '60' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/time_zone + name: time_zone + properties: + allowedValues: '[+|-][0]{0,1}[0-9]:[0-5][0-9]|[+|-][1][0-2]:[0-5][0-9]|SYSTEM' + dataType: String + defaultValue: SYSTEM + description: The server time zone + source: system-default + value: SYSTEM + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/character_set_server + name: character_set_server + properties: + allowedValues: 'BIG5,DEC8,CP850,HP8,KOI8R,LATIN1,LATIN2,SWE7,ASCII,UJIS,SJIS,HEBREW,TIS620,EUCKR,KOI8U,GB2312,GREEK,CP1250,GBK,LATIN5,ARMSCII8,UTF8,UCS2,CP866,KEYBCS2,MACCE,MACROMAN,CP852,LATIN7,UTF8MB4,CP1251,UTF16,CP1256,CP1257,UTF32,BINARY,GEOSTD8,CP932,EUCJPMS' + dataType: Enumeration + defaultValue: latin1 + description: Use charset_name as the default server character set. + source: system-default + value: latin1 + type: Microsoft.DBforMySQL/servers/configurations + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}': + get: + description: Gets information about a configuration of server. + operationId: Configurations_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + tags: + - Configurations + x-ms-examples: + ConfigurationGet: + parameters: + api-version: 2017-04-30-preview + configurationName: event_scheduler + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + put: + description: Updates a configuration of a server. + operationId: Configurations_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + - description: The required parameters for updating a server configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Configuration' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + '202': + description: Accepted + tags: + - Configurations + x-ms-examples: + ConfigurationCreateOrUpdate: + parameters: + api-version: 2017-04-30-preview + configurationName: event_scheduler + parameters: + properties: + source: user-override + value: 'ON' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: user-override + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases': + get: + description: List all the databases in a given server. + operationId: Databases_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/DatabaseListResult' + tags: + - Databases + x-ms-examples: + DatabaseList: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db2 + name: db2 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}': + delete: + description: Deletes a database. + operationId: Databases_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Databases + x-ms-examples: + DatabaseDelete: + parameters: + api-version: 2017-04-30-preview + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a database. + operationId: Databases_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + tags: + - Databases + x-ms-examples: + DatabaseGet: + parameters: + api-version: 2017-04-30-preview + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + put: + description: Creates a new database or updates an existing database. + operationId: Databases_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + - description: The required parameters for creating or updating a database. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Database' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + '201': + description: Created + schema: + $ref: '#/definitions/Database' + '202': + description: Accepted + tags: + - Databases + x-ms-examples: + DatabaseCreate: + parameters: + api-version: 2017-04-30-preview + databaseName: db1 + parameters: + properties: + charset: utf8 + collation: utf8_general_ci + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules': + get: + description: List all the firewall rules in a given server. + operationId: FirewallRules_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRuleListResult' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleList: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule2 + name: rule2 + properties: + endIpAddress: 255.0.0.0 + startIpAddress: 1.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + x-ms-pageable: {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}': + delete: + description: Deletes a server firewall rule. + operationId: FirewallRules_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - FirewallRules + x-ms-examples: + FirewallRuleDelete: + parameters: + api-version: 2017-04-30-preview + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server firewall rule. + operationId: FirewallRules_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleGet: + parameters: + api-version: 2017-04-30-preview + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + put: + description: Creates a new firewall rule or updates an existing firewall rule. + operationId: FirewallRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + - description: The required parameters for creating or updating a firewall rule. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallRule' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + '201': + description: Created + schema: + $ref: '#/definitions/FirewallRule' + '202': + description: Accepted + tags: + - FirewallRules + x-ms-examples: + FirewallRuleCreate: + parameters: + api-version: 2017-04-30-preview + firewallRuleName: rule1 + parameters: + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/logFiles': + get: + description: List all the log files in a given server. + operationId: LogFiles_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/LogFileListResult' + tags: + - LogFiles + x-ms-examples: + LogFileList: + parameters: + api-version: 2017-04-30-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/logFiles/mysql-slow-testserver-2017042102.log + name: mysql-slow-testserver-2017042102.log + properties: + createdTime: '0001-01-01T00:00:00+00:00' + lastModifiedTime: '2017-04-21T03:02:23+00:00' + name: mysql-slow-testserver-2017042102.log + sizeInKB: 1 + type: slowlog + url: 'https://wasd2orcasseas1aelsfse0.file.core.windows.net/52bd047495b3459b95185a1738cbaeac/serverlogs/mysql-slow-testserver-2017042102.log?sv=2015-04-05&sr=f&sig=zt6C6CBMygNbwzbDw5qcU%2F3duOgP9ZERQ8aWJr7fnuM%3D&se=2017-04-21T04%3A02%3A33Z&sp=r' + type: Microsoft.DBforMySQL/servers/logFiles + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/logFiles/mysql-slow-testserver-2017042202.log + name: mysql-slow-testserver-2017042202.log + properties: + createdTime: '0001-01-01T00:00:00+00:00' + lastModifiedTime: '2017-04-22T03:02:23+00:00' + name: mysql-slow-testserver-2017042202.log + sizeInKB: 1 + type: slowlog + url: 'https://wasd2orcasseas1aelsfse0.file.core.windows.net/52bd047495b3459b95185a1738cbaeac/serverlogs/mysql-slow-testserver-2017042202.log?sv=2015-04-05&sr=f&sig=zt6C6CBMygNbwzbDw5qcU%2F3duOgP9ZERQ8aWJr7fnuM%3D&se=2017-04-22T04%3A02%3A33Z&sp=r' + type: Microsoft.DBforMySQL/servers/logFiles + x-ms-pageable: {} +definitions: + Configuration: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Configuration. + properties: + properties: + $ref: '#/definitions/ConfigurationProperties' + description: The properties of a configuration. + x-ms-client-flatten: true + ConfigurationListResult: + description: A list of server configurations. + properties: + value: + description: The list of server configurations. + items: + $ref: '#/definitions/Configuration' + type: array + ConfigurationProperties: + description: The properties of a configuration. + properties: + allowedValues: + description: Allowed values of the configuration. + readOnly: true + type: string + dataType: + description: Data type of the configuration. + readOnly: true + type: string + defaultValue: + description: Default value of the configuration. + readOnly: true + type: string + description: + description: Description of the configuration. + readOnly: true + type: string + source: + description: Source of the configuration. + type: string + value: + description: Value of the configuration. + type: string + Database: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Database. + properties: + properties: + $ref: '#/definitions/DatabaseProperties' + description: The properties of a database. + x-ms-client-flatten: true + DatabaseListResult: + description: A List of databases. + properties: + value: + description: The list of databases housed in a server + items: + $ref: '#/definitions/Database' + type: array + DatabaseProperties: + description: The properties of a database. + properties: + charset: + description: The charset of the database. + type: string + collation: + description: The collation of the database. + type: string + FirewallRule: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a server firewall rule. + properties: + properties: + $ref: '#/definitions/FirewallRuleProperties' + description: The properties of a firewall rule. + x-ms-client-flatten: true + required: + - properties + FirewallRuleListResult: + description: A list of firewall rules. + properties: + value: + description: The list of firewall rules in a server. + items: + $ref: '#/definitions/FirewallRule' + type: array + FirewallRuleProperties: + description: The properties of a server firewall rule. + properties: + endIpAddress: + description: The end IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + startIpAddress: + description: The start IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + required: + - startIpAddress + - endIpAddress + LogFile: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a log file. + properties: + name: + description: The name of the log file. + type: string + properties: + $ref: '#/definitions/LogFileProperties' + description: The properties of the log file. + x-ms-client-flatten: true + LogFileListResult: + description: A list of log files. + properties: + value: + description: The list of log files. + items: + $ref: '#/definitions/LogFile' + type: array + LogFileProperties: + description: The properties of a log file. + properties: + createdTime: + description: Creation timestamp of the log file. + format: date-time + type: string + lastModifiedTime: + description: Last modified timestamp of the log file. + format: date-time + type: string + name: + description: Log file name. + type: string + sizeInKB: + description: Size of the log file. + format: int64 + type: integer + type: + description: Type of the log file. + type: string + url: + description: The url to download the log file from. + type: string + NameAvailability: + description: Represents a resource name availability. + properties: + message: + description: Error Message. + type: string + nameAvailable: + description: Indicates whether the resource name is available. + type: boolean + reason: + description: Reason for name being unavailable. + type: string + NameAvailabilityRequest: + description: Request from client to check resource name availability. + properties: + name: + description: Resource name to verify. + type: string + type: + description: Resource type used for verification. + type: string + required: + - name + Operation: + description: REST API operation definition. + properties: + display: + $ref: '#/definitions/OperationDisplay' + description: The localized display information for this particular operation or action. + readOnly: true + name: + description: The name of the operation being performed on this particular object. + readOnly: true + type: string + origin: + description: The intended executor of the operation. + enum: + - NotSpecified + - user + - system + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: OperationOrigin + properties: + additionalProperties: + type: object + description: Additional descriptions for the operation. + readOnly: true + type: object + x-ms-client-flatten: false + OperationDisplay: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + readOnly: true + type: string + operation: + description: Localized friendly name for the operation. + readOnly: true + type: string + provider: + description: Operation resource provider name. + readOnly: true + type: string + resource: + description: Resource on which the operation is performed. + readOnly: true + type: string + OperationListResult: + description: A list of resource provider operations. + properties: + value: + description: The list of resource provider operations. + items: + $ref: '#/definitions/Operation' + type: array + PerformanceTierListResult: + description: A list of performance tiers. + properties: + value: + description: The list of performance tiers + items: + $ref: '#/definitions/PerformanceTierProperties' + type: array + PerformanceTierProperties: + description: Performance tier properties + properties: + backupRetentionDays: + description: Backup retention in days for the performance tier edition + type: integer + id: + description: ID of the performance tier. + type: string + serviceLevelObjectives: + description: Service level objectives associated with the performance tier + items: + $ref: '#/definitions/PerformanceTierServiceLevelObjectives' + type: array + PerformanceTierServiceLevelObjectives: + description: Service level objectives for performance tier. + properties: + dtu: + description: Database throughput unit associated with the service level objective + type: integer + edition: + description: Edition of the performance tier. + type: string + id: + description: ID for the service level objective. + type: string + storageMB: + description: Maximum storage in MB associated with the service level objective + type: integer + ProxyResource: + description: Resource properties. + properties: + id: + description: Resource ID + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + Server: + allOf: + - $ref: '#/definitions/TrackedResource' + description: Represents a server. + properties: + properties: + $ref: '#/definitions/ServerProperties' + description: Properties of the server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + ServerForCreate: + description: Represents a server to be created. + properties: + location: + description: The location the resource resides in. + type: string + properties: + $ref: '#/definitions/ServerPropertiesForCreate' + description: Properties of the server. + x-ms-client-flatten: false + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - properties + - location + ServerListResult: + description: A list of servers. + properties: + value: + description: The list of servers + items: + $ref: '#/definitions/Server' + type: array + ServerProperties: + description: The properties of a server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + fullyQualifiedDomainName: + description: The fully qualified domain name of a server. + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageMB: + description: The maximum storage allowed for a server. + format: int64 + minimum: 1024 + type: integer + userVisibleState: + description: A state of a server that is visible to user. + enum: + - Ready + - Dropping + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ServerState + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + ServerPropertiesForCreate: + description: The properties used to create a new server. + discriminator: createMode + properties: + createMode: + description: The mode to create a new server. + enum: + - Default + - PointInTimeRestore + type: string + x-ms-enum: + modelAsString: true + name: CreateMode + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageMB: + description: The maximum storage allowed for a server. + format: int64 + minimum: 1024 + type: integer + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + required: + - createMode + ServerPropertiesForDefaultCreate: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + required: + - administratorLogin + - administratorLoginPassword + x-ms-discriminator-value: Default + ServerPropertiesForRestore: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties to a new server by restoring from a backup. + properties: + restorePointInTime: + description: 'Restore point creation time (ISO8601 format), specifying the time to restore from.' + format: date-time + type: string + sourceServerId: + description: The source server id to restore from. + type: string + required: + - sourceServerId + - restorePointInTime + x-ms-discriminator-value: PointInTimeRestore + ServerUpdateParameters: + description: Parameters allowd to update for a server. + properties: + properties: + description: The properties that can be updated for a server. + properties: + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageMB: + description: The max storage allowed for a server. + format: int64 + minimum: 1024 + type: integer + version: + $ref: '#/definitions/ServerVersion' + description: The version of a server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + ServerVersion: + description: The version of a server. + enum: + - '5.6' + - '5.7' + type: string + x-ms-enum: + modelAsString: true + name: ServerVersion + Sku: + description: Billing information related properties of a server. + properties: + capacity: + description: 'The scale up/out capacity, representing server''s compute units.' + format: int32 + minimum: 0 + type: integer + family: + description: The family of hardware. + type: string + name: + description: 'The name of the sku, typically, a letter + Number code, e.g. P3.' + type: string + size: + description: 'The size code, to be interpreted by resource as appropriate.' + type: string + tier: + description: 'The tier of the particular SKU, e.g. Basic.' + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: SkuTier + SslEnforcement: + description: Enable ssl enforcement or not when connect to server. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: false + name: SslEnforcementEnum + TrackedResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Resource properties including location and tags for track resources. + properties: + location: + description: The location the resource resides in. + type: string + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - location diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c195d169dd37cc5471d332a910d53f962cdbd15f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01-preview/swagger.yaml @@ -0,0 +1,3390 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.' + title: MySQLManagementClient + version: 2017-12-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: mysql + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + ConfigurationNameParameter: + description: The name of the server configuration. + in: path + name: configurationName + required: true + type: string + x-ms-parameter-location: method + DatabaseNameParameter: + description: The name of the database. + in: path + name: databaseName + required: true + type: string + x-ms-parameter-location: method + FirewallRuleNameParameter: + description: The name of the server firewall rule. + in: path + name: firewallRuleName + required: true + type: string + x-ms-parameter-location: method + LocationNameParameter: + description: The name of the location. + in: path + name: locationName + required: true + type: string + x-ms-parameter-location: method + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + SecurityAlertPolicyNameParameter: + description: The name of the security alert policy. + enum: + - default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string + virtualNetworkRuleNameParameter: + description: The name of the virtual network rule. + in: path + name: virtualNetworkRuleName + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.DBforMySQL/operations: + get: + description: Lists all of the available REST API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + tags: + - Operations + x-ms-examples: + OperationList: + parameters: + api-version: 2017-12-01-preview + responses: + '200': + body: + value: + - display: + description: Returns the list of Performance Tiers available. + operation: List Performance Tiers + provider: Microsoft DB for MySQL + resource: Performance Tiers + name: Microsoft.DBforMySQL/locations/performanceTiers/read + - display: + description: Return the list of firewall rules for a server or gets the properties for the specified firewall rule. + operation: List/Get Firewall Rules + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/read + - display: + description: Creates a firewall rule with the specified parameters or update an existing rule. + operation: Create/Update Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/write + - display: + description: Deletes an existing firewall rule. + operation: Delete Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/delete + - display: + description: Return the list of servers or gets the properties for the specified server. + operation: List/Get MySQL Servers + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/read + - display: + description: Creates a server with the specified parameters or update the properties or tags for the specified server. + operation: Create/Update MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/write + - display: + description: Deletes an existing server. + operation: Delete MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/delete + - display: + description: Returns the list of Performance Tiers available. + operation: List Performance Tiers + provider: Microsoft DB for MySQL + resource: Performance Tiers + name: Microsoft.DBforMySQL/performanceTiers/read + - display: + description: Return the recoverable MySQL Server info + operation: Get Recoverable MySQL Server info + provider: Microsoft DB for MySQL + resource: Recoverable MySQL Server + name: Microsoft.DBforMySQL/servers/recoverableServers/read + - display: + description: Return types of metrics that are available for databases + operation: Get database metric definitions + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/metricDefinitions/read + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Average + displayDescription: CPU percent + displayName: CPU percent + fillGapWithZero: true + name: cpu_percent + unit: Percent + - aggregationType: Average + displayDescription: Memory percent + displayName: Memory percent + fillGapWithZero: true + name: memory_percent + unit: Percent + - aggregationType: Average + displayDescription: IO percent + displayName: IO percent + fillGapWithZero: true + name: io_consumption_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage percentage + displayName: Storage percentage + name: storage_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage used + displayName: Storage used + name: storage_used + unit: Bytes + - aggregationType: Average + displayDescription: Storage limit + displayName: Storage limit + name: storage_limit + unit: Bytes + - aggregationType: Average + displayDescription: Server Log storage percent + displayName: Server Log storage percent + name: serverlog_storage_percent + unit: Percent + - aggregationType: Average + displayDescription: Server Log storage used + displayName: Server Log storage used + name: serverlog_storage_usage + unit: Bytes + - aggregationType: Average + displayDescription: Server Log storage limit + displayName: Server Log storage limit + name: serverlog_storage_limit + unit: Bytes + - aggregationType: Average + displayDescription: Total active connections + displayName: Total active connections + fillGapWithZero: true + name: active_connections + unit: Count + - aggregationType: Average + displayDescription: Total failed connections + displayName: Total failed connections + fillGapWithZero: true + name: connections_failed + unit: Count + - aggregationType: Average + displayDescription: Replication lag in seconds + displayName: Replication lag in seconds + fillGapWithZero: true + name: seconds_behind_master + unit: Count + - display: + description: Gets the disagnostic setting for the resource + operation: Read diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/read + - display: + description: Creates or updates the diagnostic setting for the resource + operation: Write diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/write + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability': + post: + description: Check the availability of name for resource + operationId: CheckNameAvailability_Execute + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: The required parameters for checking if resource name is available. + in: body + name: nameAvailabilityRequest + required: true + schema: + $ref: '#/definitions/NameAvailabilityRequest' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/NameAvailability' + tags: + - CheckNameAvailability + x-ms-examples: + NameAvailability: + parameters: + api-version: 2017-12-01-preview + nameAvailabilityRequest: + name: name1 + type: Microsoft.DBforMySQL + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + message: '' + nameAvailable: true + reason: '' + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers': + get: + description: List all the performance tiers at specified location in a given subscription. + operationId: LocationBasedPerformanceTier_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LocationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PerformanceTierListResult' + tags: + - LocationBasedPerformanceTier + x-ms-examples: + PerformanceTiersList: + parameters: + api-version: 2017-12-01-preview + locationName: WestUS + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: Basic + serviceLevelObjectives: + - edition: Basic + hardwareGeneration: Gen4 + id: B_Gen4_1 + maxBackupRetentionDays: 35 + maxStorageMB: 1048576 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 1 + - edition: Basic + hardwareGeneration: Gen4 + id: B_Gen4_2 + maxBackupRetentionDays: 35 + maxStorageMB: 1048576 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 2 + - id: GeneralPurpose + serviceLevelObjectives: + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_2 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 2 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_4 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 4 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_8 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 8 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_16 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 16 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_32 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 32 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given subscription. + operationId: Servers_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerList: + parameters: + api-version: 2017-12-01-preview + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1 + location: westus + name: mysqltestsvc1 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:56:02.627+00:00' + fullyQualifiedDomainName: mysqltestsvc1.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: B_Gen4_2 + tier: Basic + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltstsvc2 + location: westus + name: mysqltstsvc2 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:56:54.3+00:00' + fullyQualifiedDomainName: mysqltstsvc2.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg1/providers/Microsoft.DBforMySQL/servers/mysqltestsvc3 + location: westus + name: mysqltestsvc3 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:59:44.847+00:00' + fullyQualifiedDomainName: mysqltestsvc3.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 102400 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 4 + family: Gen4 + name: GP_Gen4_4 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given resource group. + operationId: Servers_ListByResourceGroup + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerListByResourceGroup: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: testrg + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1 + location: westus + name: mysqltestsvc1 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-03-07T18:17:35.729321+00:00' + fullyQualifiedDomainName: mysqltestsvc1.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 1 + family: Gen4 + name: B_Gen4_1 + tier: Basic + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltstsvc2 + location: westus + name: mysqltstsvc2 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-03-07T18:17:35.729321+00:00' + fullyQualifiedDomainName: mysqltstsvc2.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}': + delete: + description: Deletes a server. + operationId: Servers_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Servers + x-ms-examples: + ServerDelete: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server. + operationId: Servers_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + tags: + - Servers + x-ms-examples: + ServerGet: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + masterServerId: '' + replicaCapacity: 5 + replicationRole: None + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + patch: + description: Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. + operationId: Servers_Update + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerUpdateParameters' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + ServerUpdate: + parameters: + api-version: 2017-12-01-preview + parameters: + properties: + administratorLoginPassword: newpa$$w0rd + sslEnforcement: Disabled + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Disabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + put: + description: Creates a new server or updates an existing server. The update action will overwrite the existing server. + operationId: Servers_Create + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for creating or updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerForCreate' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '201': + description: Created + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + Create a database as a point in time restore: + parameters: + api-version: 2017-12-01-preview + parameters: + location: brazilsouth + properties: + createMode: PointInTimeRestore + restorePointInTime: '2017-12-14T00:00:37.467Z' + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: brazilsouth + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: brazilsouth + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + Create a new server: + parameters: + api-version: 2017-12-01-preview + parameters: + location: westus + properties: + administratorLogin: cloudsa + administratorLoginPassword: pass$w0rd + createMode: Default + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + Create a replica server: + parameters: + api-version: 2017-12-01-preview + parameters: + location: westus + properties: + createMode: Replica + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + 'Create a server as a geo restore ': + parameters: + api-version: 2017-12-01-preview + parameters: + location: westus + properties: + createMode: GeoRestore + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/Administrators/activeDirectory': + delete: + description: Deletes AAD Administrator. + operationId: ServerAdministrators_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + '202': + description: Accepted + schema: + $ref: '#/definitions/ServerAdministratorResource' + '204': + description: NoContent + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorsDelete: + parameters: + administratorName: activeDirectory + api-version: 2017-12-01-preview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: OK + '202': + body: Accepted + '204': + body: No Content + x-ms-long-running-operation: true + get: + description: Gets information about a AAD server administrator. + operationId: ServerAdministrators_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorGet: + parameters: + administratorName: activeDirectory + api-version: 2017-12-01-preview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: activeDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + put: + description: Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator. + operationId: ServerAdministrators_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for creating or updating an AAD server administrator. + in: body + name: properties + required: true + schema: + $ref: '#/definitions/ServerAdministratorResource' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + '202': + description: Accepted + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorCreate: + parameters: + administratorName: activeDirectory + api-version: 2017-12-01-preview + properties: + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: activeDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + '202': + body: Accepted + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators': + get: + description: Returns a list of server Administrators. + operationId: ServerAdministrators_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResourceListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + get a list of server administrators: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: ActiveDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations': + get: + description: List all the configurations in a given server. + operationId: Configurations_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ConfigurationListResult' + tags: + - Configurations + x-ms-examples: + ConfigurationList: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: testrg + serverName: mysqltestsvc1 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/div_precision_increment + name: div_precision_increment + properties: + allowedValues: 0-30 + dataType: Integer + defaultValue: '4' + description: Number of digits by which to increase the scale of the result of division operations. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/group_concat_max_len + name: group_concat_max_len + properties: + allowedValues: 4-16777216 + dataType: Integer + defaultValue: '1024' + description: Maximum allowed result length in bytes for the GROUP_CONCAT(). + source: system-default + value: '1024' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_adaptive_hash_index + name: innodb_adaptive_hash_index + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'ON' + description: Whether innodb adaptive hash indexes are enabled or disabled. + source: system-default + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_lock_wait_timeout + name: innodb_lock_wait_timeout + properties: + allowedValues: 1-3600 + dataType: Integer + defaultValue: '50' + description: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. + source: system-default + value: '50' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/interactive_timeout + name: interactive_timeout + properties: + allowedValues: 10-1800 + dataType: Integer + defaultValue: '1800' + description: Number of seconds the server waits for activity on an interactive connection before closing it. + source: system-default + value: '1800' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_queries_not_using_indexes + name: log_queries_not_using_indexes + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Logs queries that are expected to retrieve all rows to slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_throttle_queries_not_using_indexes + name: log_throttle_queries_not_using_indexes + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '0' + description: Limits the number of such queries per minute that can be written to the slow query log. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_admin_statements + name: log_slow_admin_statements + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Include slow administrative statements in the statements written to the slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_slave_statements + name: log_slow_slave_statements + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: 'When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.' + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_bin_trust_function_creators + name: log_bin_trust_function_creators + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/long_query_time + name: long_query_time + properties: + allowedValues: 0-1E+100 + dataType: Numeric + defaultValue: '10' + description: 'If a query takes longer than this many seconds, the server increments the Slow_queries status variable.' + source: system-default + value: '10' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/min_examined_row_limit + name: min_examined_row_limit + properties: + allowedValues: 0-18446744073709551615 + dataType: Integer + defaultValue: '0' + description: Can be used to cause queries which examine fewer than the stated number of rows not to be logged. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slow_query_log + name: slow_query_log + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Enable or disable the slow query log + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/sql_mode + name: sql_mode + properties: + allowedValues: ',ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES' + dataType: Set + defaultValue: '' + description: The current server SQL mode. + source: system-default + value: '' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/wait_timeout + name: wait_timeout + properties: + allowedValues: 60-86400 + dataType: Integer + defaultValue: '120' + description: The number of seconds the server waits for activity on a noninteractive connection before closing it. + source: system-default + value: '120' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/net_read_timeout + name: net_read_timeout + properties: + allowedValues: 10-3600 + dataType: Integer + defaultValue: '120' + description: 'The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.' + source: system-default + value: '120' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/net_write_timeout + name: net_write_timeout + properties: + allowedValues: 10-3600 + dataType: Integer + defaultValue: '240' + description: 'The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.' + source: system-default + value: '240' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/server_id + name: server_id + properties: + allowedValues: 1000-4294967295 + dataType: Integer + defaultValue: '1000' + description: 'The server ID, used in replication to give each master and slave a unique identity.' + source: user-override + value: '1381286943' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_allowed_packet + name: max_allowed_packet + properties: + allowedValues: 1024-1073741824 + dataType: Integer + defaultValue: '536870912' + description: 'The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.' + source: system-default + value: '536870912' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_net_timeout + name: slave_net_timeout + properties: + allowedValues: 30-3600 + dataType: Integer + defaultValue: '60' + description: 'The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.' + source: system-default + value: '60' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/time_zone + name: time_zone + properties: + allowedValues: '[+|-][0]{0,1}[0-9]:[0-5][0-9]|[+|-][1][0-2]:[0-5][0-9]|SYSTEM' + dataType: String + defaultValue: SYSTEM + description: The server time zone + source: system-default + value: SYSTEM + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/binlog_group_commit_sync_delay + name: binlog_group_commit_sync_delay + properties: + allowedValues: '0,11-1000000' + dataType: Integer + defaultValue: '1000' + description: Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. + source: system-default + value: '1000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/binlog_group_commit_sync_no_delay_count + name: binlog_group_commit_sync_no_delay_count + properties: + allowedValues: 0-1000000 + dataType: Integer + defaultValue: '0' + description: The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/character_set_server + name: character_set_server + properties: + allowedValues: 'BIG5,DEC8,CP850,HP8,KOI8R,LATIN1,LATIN2,SWE7,ASCII,UJIS,SJIS,HEBREW,TIS620,EUCKR,KOI8U,GB2312,GREEK,CP1250,GBK,LATIN5,ARMSCII8,UTF8,UCS2,CP866,KEYBCS2,MACCE,MACROMAN,CP852,LATIN7,UTF8MB4,CP1251,UTF16,CP1256,CP1257,UTF32,BINARY,GEOSTD8,CP932,EUCJPMS' + dataType: Enumeration + defaultValue: latin1 + description: Use charset_name as the default server character set. + source: system-default + value: latin1 + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/join_buffer_size + name: join_buffer_size + properties: + allowedValues: 128-2097152 + dataType: Integer + defaultValue: '262144' + description: 'The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.' + source: system-default + value: '262144' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/table_open_cache + name: table_open_cache + properties: + allowedValues: 1-4000 + dataType: Integer + defaultValue: '2000' + description: The number of open tables for all threads. + source: system-default + value: '2000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/lower_case_table_names + name: lower_case_table_names + properties: + allowedValues: '1,2' + dataType: Enumeration + defaultValue: '1' + description: 'If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.' + source: system-default + value: '1' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_compressed_protocol + name: slave_compressed_protocol + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: This option places an upper limit on the total size in bytes of all relay logs on the slave. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_io_capacity + name: innodb_io_capacity + properties: + allowedValues: 100-1500 + dataType: Integer + defaultValue: '200' + description: 'Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.' + source: system-default + value: '200' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_read_io_threads + name: innodb_read_io_threads + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of I/O threads for read operations in InnoDB. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_thread_concurrency + name: innodb_thread_concurrency + properties: + allowedValues: 0-1000 + dataType: Integer + defaultValue: '0' + description: InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_write_io_threads + name: innodb_write_io_threads + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of I/O threads for write operations in InnoDB. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_page_cleaners + name: innodb_page_cleaners + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of page cleaner threads that flush dirty pages from buffer pool instances. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_online_alter_log_max_size + name: innodb_online_alter_log_max_size + properties: + allowedValues: 65536-2147483648 + dataType: Integer + defaultValue: '134217728' + description: Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables. + source: system-default + value: '134217728' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/init_connect + name: init_connect + properties: + allowedValues: '' + dataType: String + defaultValue: '' + description: A string to be executed by the server for each client that connects. + source: system-default + value: '' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/tx_isolation + name: tx_isolation + properties: + allowedValues: 'READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE' + dataType: Enumeration + defaultValue: REPEATABLE-READ + description: The default transaction isolation level. + source: system-default + value: REPEATABLE-READ + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/eq_range_index_dive_limit + name: eq_range_index_dive_limit + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '200' + description: This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows. + source: system-default + value: '200' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_old_blocks_pct + name: innodb_old_blocks_pct + properties: + allowedValues: 5-95 + dataType: Integer + defaultValue: '37' + description: Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist. + source: system-default + value: '37' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_old_blocks_time + name: innodb_old_blocks_time + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '1000' + description: 'Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.' + source: system-default + value: '1000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_read_ahead_threshold + name: innodb_read_ahead_threshold + properties: + allowedValues: 0-64 + dataType: Integer + defaultValue: '56' + description: Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool. + source: system-default + value: '56' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_length_for_sort_data + name: max_length_for_sort_data + properties: + allowedValues: 4-8388608 + dataType: Integer + defaultValue: '1024' + description: The cutoff on the size of index values that determines which filesort algorithm to use. + source: system-default + value: '1024' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_connect_errors + name: max_connect_errors + properties: + allowedValues: 1-18446744073709551615 + dataType: Integer + defaultValue: '100' + description: 'If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.' + source: system-default + value: '100' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_thread_sleep_delay + name: innodb_thread_sleep_delay + properties: + allowedValues: 0-1000000 + dataType: Integer + defaultValue: '10000' + description: 'Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.' + source: system-default + value: '10000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_file_format + name: innodb_file_format + properties: + allowedValues: 'Antelope,Barracuda' + dataType: Enumeration + defaultValue: Barracuda + description: Indicates the InnoDB file format for file-per-table tablespaces. + source: system-default + value: Barracuda + type: Microsoft.DBforMySQL/servers/configurations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}': + get: + description: Gets information about a configuration of server. + operationId: Configurations_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + tags: + - Configurations + x-ms-examples: + ConfigurationGet: + parameters: + api-version: 2017-12-01-preview + configurationName: event_scheduler + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: user-override + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + put: + description: Updates a configuration of a server. + operationId: Configurations_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + - description: The required parameters for updating a server configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Configuration' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + '202': + description: Accepted + tags: + - Configurations + x-ms-examples: + ConfigurationCreateOrUpdate: + parameters: + api-version: 2017-12-01-preview + configurationName: event_scheduler + parameters: + properties: + source: user-override + value: 'off' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: user-override + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases': + get: + description: List all the databases in a given server. + operationId: Databases_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/DatabaseListResult' + tags: + - Databases + x-ms-examples: + DatabaseList: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db2 + name: db2 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}': + delete: + description: Deletes a database. + operationId: Databases_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Databases + x-ms-examples: + DatabaseDelete: + parameters: + api-version: 2017-12-01-preview + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a database. + operationId: Databases_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + tags: + - Databases + x-ms-examples: + DatabaseGet: + parameters: + api-version: 2017-12-01-preview + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + put: + description: Creates a new database or updates an existing database. + operationId: Databases_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + - description: The required parameters for creating or updating a database. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Database' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + '201': + description: Created + schema: + $ref: '#/definitions/Database' + '202': + description: Accepted + tags: + - Databases + x-ms-examples: + DatabaseCreate: + parameters: + api-version: 2017-12-01-preview + databaseName: db1 + parameters: + properties: + charset: utf8 + collation: utf8_general_ci + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules': + get: + description: List all the firewall rules in a given server. + operationId: FirewallRules_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRuleListResult' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleList: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule2 + name: rule2 + properties: + endIpAddress: 255.0.0.0 + startIpAddress: 1.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}': + delete: + description: Deletes a server firewall rule. + operationId: FirewallRules_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - FirewallRules + x-ms-examples: + FirewallRuleDelete: + parameters: + api-version: 2017-12-01-preview + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server firewall rule. + operationId: FirewallRules_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleGet: + parameters: + api-version: 2017-12-01-preview + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + put: + description: Creates a new firewall rule or updates an existing firewall rule. + operationId: FirewallRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + - description: The required parameters for creating or updating a firewall rule. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallRule' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + '201': + description: Created + schema: + $ref: '#/definitions/FirewallRule' + '202': + description: Accepted + tags: + - FirewallRules + x-ms-examples: + FirewallRuleCreate: + parameters: + api-version: 2017-12-01-preview + firewallRuleName: rule1 + parameters: + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/logFiles': + get: + description: List all the log files in a given server. + operationId: LogFiles_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/LogFileListResult' + tags: + - LogFiles + x-ms-examples: + LogFileList: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/logFiles/mysql-slow-mysqltestsvc1-2018022823.log + name: mysql-slow-mysqltestsvc1-2018022823.log + properties: + createdTime: '0001-01-01T00:00:00+00:00' + lastModifiedTime: '2018-03-01T06:09:20+00:00' + sizeInKB: 1 + type: slowlog + url: 'https://wasd2prodwus1afse42.file.core.windows.net/833c99b2f36c47349e5554b903fe0440/serverlogs/mysql-slow-mysqltestsvc1-2018022823.log?sv=2015-04-05&sr=f&sig=D9Ga4N5Pa%2BPe5Bmjpvs7A0TPD%2FF7IZpk9e4KWR0jgpM%3D&se=2018-03-01T07%3A12%3A13Z&sp=r' + type: Microsoft.DBforMySQL/servers/logFiles + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas': + get: + description: List all the replicas for a given server. + operationId: Replicas_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Replicas + x-ms-examples: + ReplicasListByServer: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testmaster + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: northeurope + name: testserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver1 + location: northeurope + name: testserver1 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver1.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver2 + location: northeurope + name: testserver2 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver2.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/restart': + post: + description: Restarts a server. + operationId: Servers_Restart + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerRestart + x-ms-examples: + ServerRestart: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}': + get: + description: Get a server's security alert policy. + operationId: ServerSecurityAlertPolicies_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the security alert policy. + enum: + - Default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-enum: + modelAsString: true + name: SecurityAlertPolicyName + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the server threat detection policy. + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + default: + description: Error response describing why the operation of getting security alert policies failed. + tags: + - ServerSecurityAlertPolicies + x-ms-examples: + Get a server's threat detection policy: + parameters: + api-version: 2017-03-01-preview + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: + - Access_Anomaly + emailAccountAdmins: true + emailAddresses: + - test@microsoft.com;user@microsoft.com + retentionDays: 0 + state: Disabled + storageEndpoint: 'https://mystorage.blob.core.windows.net' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + put: + description: Creates or updates a threat detection policy. + operationId: ServerSecurityAlertPolicies_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the threat detection policy. + enum: + - Default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-enum: + modelAsString: true + name: SecurityAlertPolicyName + - description: The server security alert policy. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully updated the threat detection policy. + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + '202': + description: Created request to set the server threat detection policy. + default: + description: Error response describing why the operation of setting security alert policies failed. + tags: + - ServerSecurityAlertPolicies + x-ms-examples: + Update a server's threat detection policy with all parameters: + parameters: + api-version: 2017-12-01-preview + parameters: + properties: + disabledAlerts: + - Access_Anomaly + - Usage_Anomaly + emailAccountAdmins: true + emailAddresses: + - testSecurityAlert@microsoft.com + retentionDays: 5 + state: Enabled + storageAccountAccessKey: sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD== + storageEndpoint: 'https://mystorage.blob.core.windows.net' + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: + - Access_Anomaly + - Usage_Anomaly + emailAccountAdmins: true + emailAddresses: + - testSecurityAlert@microsoft.com + retentionDays: 5 + state: Enabled + storageEndpoint: 'https://mystorage.blob.core.windows.net' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + '202': {} + Update a server's threat detection policy with minimal parameters: + parameters: + api-version: 2017-12-01-preview + parameters: + properties: + emailAccountAdmins: true + state: Disabled + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: [] + emailAccountAdmins: true + emailAddresses: [] + retentionDays: 0 + state: Enabled + storageEndpoint: '' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules': + get: + description: Gets a list of virtual network rules in a server. + operationId: VirtualNetworkRules_ListByServer + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the list of virtual network rules. + schema: + $ref: '#/definitions/VirtualNetworkRuleListResult' + default: + description: |- + *** Error Responses: *** + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 ResourceNotFound - The requested resource was not found. + tags: + - VirtualNetworkRules + x-ms-examples: + List virtual network rules: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}': + delete: + description: Deletes the virtual network rule with the given name. + operationId: VirtualNetworkRules_Delete + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully deleted the virtual network rule. + '202': + description: Accepted + '204': + description: The specified virtual network rule does not exist. + default: + description: |- + *** Error Responses: *** + + * 400 InvalidResourceId - Invalid resource identifier. + + * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url. + + * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url. + + * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url. + + * 400 NullVirtualNetworkRequest - Virtual Network Request is Null + + * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 OperationIdNotFound - The operation with Id does not exist. + + * 409 OperationCancelled - The operation has been cancelled by user. + + * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource. + + * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation. + tags: + - VirtualNetworkRules + x-ms-examples: + Delete a virtual network rule: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a virtual network rule. + operationId: VirtualNetworkRules_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + responses: + '200': + description: Successfully retrieved a specified virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + default: + description: |- + *** Error Responses: *** + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 ResourceNotFound - The requested resource was not found. + tags: + - VirtualNetworkRules + x-ms-examples: + Gets a virtual network rule: + parameters: + api-version: 2017-12-01-preview + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + put: + description: Creates or updates an existing virtual network rule. + operationId: VirtualNetworkRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + - description: The requested virtual Network Rule Resource state. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkRule' + responses: + '200': + description: Successfully updated a virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + '201': + description: Successfully created a virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + '202': + description: Accepted + default: + description: |- + *** Error Responses: *** + + * 400 InvalidResourceId - Invalid resource identifier. + + * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url. + + * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url. + + * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url. + + * 400 NullVirtualNetworkRequest - Virtual Network Request is Null + + * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null + + * 400 NullVirtualNetworkSubnetId - The Virtual Network Subnet Id is null + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 VirtualNetworkRuleNotEnabled - Azure SQL Server Virtual Network Rule feature is not enabled + + * 404 OperationIdNotFound - The operation with Id does not exist. + + * 409 OperationCancelled - The operation has been cancelled by user. + + * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource. + + * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation. + tags: + - VirtualNetworkRules + x-ms-examples: + Create or update a virtual network rule: + parameters: + api-version: 2017-12-01-preview + parameters: + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + '202': {} + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + Configuration: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Configuration. + properties: + properties: + $ref: '#/definitions/ConfigurationProperties' + description: The properties of a configuration. + x-ms-client-flatten: true + ConfigurationListResult: + description: A list of server configurations. + properties: + value: + description: The list of server configurations. + items: + $ref: '#/definitions/Configuration' + type: array + ConfigurationProperties: + description: The properties of a configuration. + properties: + allowedValues: + description: Allowed values of the configuration. + readOnly: true + type: string + dataType: + description: Data type of the configuration. + readOnly: true + type: string + defaultValue: + description: Default value of the configuration. + readOnly: true + type: string + description: + description: Description of the configuration. + readOnly: true + type: string + source: + description: Source of the configuration. + type: string + value: + description: Value of the configuration. + type: string + Database: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Database. + properties: + properties: + $ref: '#/definitions/DatabaseProperties' + description: The properties of a database. + x-ms-client-flatten: true + DatabaseListResult: + description: A List of databases. + properties: + value: + description: The list of databases housed in a server + items: + $ref: '#/definitions/Database' + type: array + DatabaseProperties: + description: The properties of a database. + properties: + charset: + description: The charset of the database. + type: string + collation: + description: The collation of the database. + type: string + FirewallRule: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a server firewall rule. + properties: + properties: + $ref: '#/definitions/FirewallRuleProperties' + description: The properties of a firewall rule. + x-ms-client-flatten: true + required: + - properties + FirewallRuleListResult: + description: A list of firewall rules. + properties: + value: + description: The list of firewall rules in a server. + items: + $ref: '#/definitions/FirewallRule' + type: array + FirewallRuleProperties: + description: The properties of a server firewall rule. + properties: + endIpAddress: + description: The end IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + startIpAddress: + description: The start IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + required: + - startIpAddress + - endIpAddress + LogFile: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a log file. + properties: + name: + description: The name of the log file. + type: string + properties: + $ref: '#/definitions/LogFileProperties' + description: The properties of the log file. + x-ms-client-flatten: true + LogFileListResult: + description: A list of log files. + properties: + value: + description: The list of log files. + items: + $ref: '#/definitions/LogFile' + type: array + LogFileProperties: + description: The properties of a log file. + properties: + createdTime: + description: Creation timestamp of the log file. + format: date-time + readOnly: true + type: string + lastModifiedTime: + description: Last modified timestamp of the log file. + format: date-time + readOnly: true + type: string + sizeInKB: + description: Size of the log file. + format: int64 + type: integer + type: + description: Type of the log file. + type: string + url: + description: The url to download the log file from. + type: string + NameAvailability: + description: Represents a resource name availability. + properties: + message: + description: Error Message. + type: string + nameAvailable: + description: Indicates whether the resource name is available. + type: boolean + reason: + description: Reason for name being unavailable. + type: string + NameAvailabilityRequest: + description: Request from client to check resource name availability. + properties: + name: + description: Resource name to verify. + type: string + type: + description: Resource type used for verification. + type: string + required: + - name + Operation: + description: REST API operation definition. + properties: + display: + $ref: '#/definitions/OperationDisplay' + description: The localized display information for this particular operation or action. + readOnly: true + name: + description: The name of the operation being performed on this particular object. + readOnly: true + type: string + origin: + description: The intended executor of the operation. + enum: + - NotSpecified + - user + - system + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: OperationOrigin + properties: + additionalProperties: + type: object + description: Additional descriptions for the operation. + readOnly: true + type: object + x-ms-client-flatten: false + OperationDisplay: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + readOnly: true + type: string + operation: + description: Localized friendly name for the operation. + readOnly: true + type: string + provider: + description: Operation resource provider name. + readOnly: true + type: string + resource: + description: Resource on which the operation is performed. + readOnly: true + type: string + OperationListResult: + description: A list of resource provider operations. + properties: + value: + description: The list of resource provider operations. + items: + $ref: '#/definitions/Operation' + type: array + PerformanceTierListResult: + description: A list of performance tiers. + properties: + value: + description: The list of performance tiers + items: + $ref: '#/definitions/PerformanceTierProperties' + type: array + PerformanceTierProperties: + description: Performance tier properties + properties: + id: + description: ID of the performance tier. + type: string + serviceLevelObjectives: + description: Service level objectives associated with the performance tier + items: + $ref: '#/definitions/PerformanceTierServiceLevelObjectives' + type: array + PerformanceTierServiceLevelObjectives: + description: Service level objectives for performance tier. + properties: + edition: + description: Edition of the performance tier. + type: string + hardwareGeneration: + description: Hardware generation associated with the service level objective + type: string + id: + description: ID for the service level objective. + type: string + maxBackupRetentionDays: + description: Maximum Backup retention in days for the performance tier edition + type: integer + maxStorageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + minBackupRetentionDays: + description: Minimum Backup retention in days for the performance tier edition + type: integer + minStorageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + vCore: + description: vCore associated with the service level objective + type: integer + ProxyResource: + description: Resource properties. + properties: + id: + description: Resource ID + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + ResourceIdentity: + description: Azure Active Directory identity configuration for a resource. + properties: + principalId: + description: The Azure Active Directory principal id. + format: uuid + readOnly: true + type: string + tenantId: + description: The Azure Active Directory tenant id. + format: uuid + readOnly: true + type: string + type: + description: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + enum: + - SystemAssigned + type: string + x-ms-enum: + modelAsString: true + name: IdentityType + type: object + SecurityAlertPolicyProperties: + description: Properties of a security alert policy. + properties: + disabledAlerts: + description: 'Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly' + items: + type: string + type: array + emailAccountAdmins: + description: Specifies that the alert is sent to the account administrators. + type: boolean + emailAddresses: + description: Specifies an array of e-mail addresses to which the alert is sent. + items: + type: string + type: array + retentionDays: + description: Specifies the number of days to keep in the Threat Detection audit logs. + format: int32 + type: integer + state: + description: 'Specifies the state of the policy, whether it is enabled or disabled.' + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: false + name: ServerSecurityAlertPolicyState + storageAccountAccessKey: + description: Specifies the identifier key of the Threat Detection audit storage account. + type: string + storageEndpoint: + description: 'Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.' + type: string + required: + - state + type: object + Server: + allOf: + - $ref: '#/definitions/TrackedResource' + description: Represents a server. + properties: + identity: + $ref: '#/definitions/ResourceIdentity' + description: The Azure Active Directory identity of the server. + properties: + $ref: '#/definitions/ServerProperties' + description: Properties of the server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + ServerAdministratorProperties: + description: The properties of an server Administrator. + properties: + administratorType: + description: The type of administrator. + enum: + - ActiveDirectory + type: string + x-ms-enum: + name: AdministratorType + login: + description: The server administrator login value. + type: string + sid: + description: The server administrator Sid (Secure ID). + format: uuid + type: string + tenantId: + description: The server Active Directory Administrator tenant id. + format: uuid + type: string + required: + - tenantId + - administratorType + - login + - sid + ServerAdministratorResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a and external administrator to be created. + properties: + properties: + $ref: '#/definitions/ServerAdministratorProperties' + description: Properties of the server AAD administrator. + x-ms-client-flatten: true + ServerAdministratorResourceListResult: + description: The response to a list Active Directory Administrators request. + properties: + value: + description: The list of server Active Directory Administrators for the server. + items: + $ref: '#/definitions/ServerAdministratorResource' + type: array + ServerForCreate: + description: Represents a server to be created. + properties: + location: + description: The location the resource resides in. + type: string + properties: + $ref: '#/definitions/ServerPropertiesForCreate' + description: Properties of the server. + x-ms-client-flatten: false + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - properties + - location + ServerListResult: + description: A list of servers. + properties: + value: + description: The list of servers + items: + $ref: '#/definitions/Server' + type: array + ServerProperties: + description: The properties of a server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + earliestRestoreDate: + description: Earliest restore point creation time (ISO8601 format) + format: date-time + type: string + fullyQualifiedDomainName: + description: The fully qualified domain name of a server. + type: string + masterServerId: + description: The master server id of a replica server. + type: string + replicaCapacity: + description: The maximum number of replicas that a master server can have. + format: int32 + minimum: 0 + type: integer + replicationRole: + description: The replication role of the server. + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + userVisibleState: + description: A state of a server that is visible to user. + enum: + - Ready + - Dropping + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ServerState + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + ServerPropertiesForCreate: + description: The properties used to create a new server. + discriminator: createMode + properties: + createMode: + description: The mode to create a new server. + enum: + - Default + - PointInTimeRestore + - GeoRestore + - Replica + type: string + x-ms-enum: + modelAsString: true + name: CreateMode + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + required: + - createMode + ServerPropertiesForDefaultCreate: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + required: + - administratorLogin + - administratorLoginPassword + x-ms-discriminator-value: Default + ServerPropertiesForGeoRestore: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server by restoring to a different region from a geo replicated backup. + properties: + sourceServerId: + description: The source server id to restore from. + type: string + required: + - sourceServerId + x-ms-discriminator-value: GeoRestore + ServerPropertiesForReplica: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties to create a new replica. + properties: + sourceServerId: + description: The master server id to create replica from. + type: string + required: + - sourceServerId + x-ms-discriminator-value: Replica + ServerPropertiesForRestore: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server by restoring from a backup. + properties: + restorePointInTime: + description: 'Restore point creation time (ISO8601 format), specifying the time to restore from.' + format: date-time + type: string + sourceServerId: + description: The source server id to restore from. + type: string + required: + - sourceServerId + - restorePointInTime + x-ms-discriminator-value: PointInTimeRestore + ServerSecurityAlertPolicy: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A server security alert policy. + properties: + properties: + $ref: '#/definitions/SecurityAlertPolicyProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + ServerUpdateParameters: + description: Parameters allowed to update for a server. + properties: + properties: + description: The properties that can be updated for a server. + properties: + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + replicationRole: + description: The replication role of the server. + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + version: + $ref: '#/definitions/ServerVersion' + description: The version of a server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + ServerVersion: + description: The version of a server. + enum: + - '5.6' + - '5.7' + - '8.0' + type: string + x-ms-enum: + modelAsString: true + name: ServerVersion + Sku: + description: Billing information related properties of a server. + properties: + capacity: + description: 'The scale up/out capacity, representing server''s compute units.' + format: int32 + minimum: 0 + type: integer + family: + description: The family of hardware. + type: string + name: + description: 'The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.' + type: string + size: + description: 'The size code, to be interpreted by resource as appropriate.' + type: string + tier: + description: 'The tier of the particular SKU, e.g. Basic.' + enum: + - Basic + - GeneralPurpose + - MemoryOptimized + type: string + x-ms-enum: + modelAsString: true + name: SkuTier + SslEnforcement: + description: Enable ssl enforcement or not when connect to server. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: false + name: SslEnforcementEnum + StorageProfile: + description: Storage Profile properties of a server + properties: + backupRetentionDays: + description: Backup retention days for the server. + type: integer + geoRedundantBackup: + description: Enable Geo-redundant or not for server backup. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: GeoRedundantBackup + storageAutogrow: + description: Enable Storage Auto Grow. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: StorageAutogrow + storageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + TrackedResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Resource properties including location and tags for track resources. + properties: + location: + description: The location the resource resides in. + type: string + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - location + VirtualNetworkRule: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A virtual network rule. + properties: + properties: + $ref: '#/definitions/VirtualNetworkRuleProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + VirtualNetworkRuleListResult: + description: A list of virtual network rules. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/VirtualNetworkRule' + readOnly: true + type: array + type: object + VirtualNetworkRuleProperties: + description: Properties of a virtual network rule. + properties: + ignoreMissingVnetServiceEndpoint: + description: Create firewall rule before the virtual network has vnet service endpoint enabled. + type: boolean + state: + description: Virtual Network Rule State + enum: + - Initializing + - InProgress + - Ready + - Deleting + - Unknown + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkRuleState + virtualNetworkSubnetId: + description: The ARM resource id of the virtual network subnet. + type: string + required: + - virtualNetworkSubnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ab56047de88ac0acab44e7332886a11298a0ac28 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/mysql/2017-12-01/swagger.yaml @@ -0,0 +1,4432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.' + title: MySQLManagementClient + version: '2017-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: mysql + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AdvisorNameParameter: + description: The advisor name for recommendation action. + in: path + name: advisorName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + description: The API version to use for the request. + in: query + name: api-version + required: true + type: string + ConfigurationNameParameter: + description: The name of the server configuration. + in: path + name: configurationName + required: true + type: string + x-ms-parameter-location: method + DatabaseNameParameter: + description: The name of the database. + in: path + name: databaseName + required: true + type: string + x-ms-parameter-location: method + FirewallRuleNameParameter: + description: The name of the server firewall rule. + in: path + name: firewallRuleName + required: true + type: string + x-ms-parameter-location: method + LocationNameParameter: + description: The name of the location. + in: path + name: locationName + required: true + type: string + x-ms-parameter-location: method + OperationIdParameter: + description: The operation identifier. + in: path + name: operationId + required: true + type: string + x-ms-parameter-location: method + QueryIdParameter: + description: The Query-Store query identifier. + in: path + name: queryId + required: true + type: string + x-ms-parameter-location: method + QueryStatisticIdParameter: + description: The Query Statistic identifier. + in: path + name: queryStatisticId + required: true + type: string + x-ms-parameter-location: method + RecommendedActionNameParameter: + description: The recommended action name. + in: path + name: recommendedActionName + required: true + type: string + x-ms-parameter-location: method + ResourceGroupParameter: + description: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + in: path + name: resourceGroupName + required: true + type: string + x-ms-parameter-location: method + SecurityAlertPolicyNameParameter: + description: The name of the security alert policy. + enum: + - default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-parameter-location: method + ServerNameParameter: + description: The name of the server. + in: path + name: serverName + required: true + type: string + x-ms-parameter-location: method + SubscriptionIdParameter: + description: The subscription ID that identifies an Azure subscription. + in: path + name: subscriptionId + required: true + type: string + WaitStatisticsIdParameter: + description: The Wait Statistic identifier. + in: path + name: waitStatisticsId + required: true + type: string + x-ms-parameter-location: method + virtualNetworkRuleNameParameter: + description: The name of the virtual network rule. + in: path + name: virtualNetworkRuleName + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.DBforMySQL/operations: + get: + description: Lists all of the available REST API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + tags: + - Operations + x-ms-examples: + OperationList: + parameters: + api-version: '2017-12-01' + responses: + '200': + body: + value: + - display: + description: Returns the list of Performance Tiers available. + operation: List Performance Tiers + provider: Microsoft DB for MySQL + resource: Performance Tiers + name: Microsoft.DBforMySQL/locations/performanceTiers/read + - display: + description: Return the list of firewall rules for a server or gets the properties for the specified firewall rule. + operation: List/Get Firewall Rules + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/read + - display: + description: Creates a firewall rule with the specified parameters or update an existing rule. + operation: Create/Update Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/write + - display: + description: Deletes an existing firewall rule. + operation: Delete Firewall Rule + provider: Microsoft DB for MySQL + resource: Firewall Rules + name: Microsoft.DBforMySQL/servers/firewallRules/delete + - display: + description: Return the list of servers or gets the properties for the specified server. + operation: List/Get MySQL Servers + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/read + - display: + description: Creates a server with the specified parameters or update the properties or tags for the specified server. + operation: Create/Update MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/write + - display: + description: Deletes an existing server. + operation: Delete MySQL Server + provider: Microsoft DB for MySQL + resource: MySQL Server + name: Microsoft.DBforMySQL/servers/delete + - display: + description: Returns the list of Performance Tiers available. + operation: List Performance Tiers + provider: Microsoft DB for MySQL + resource: Performance Tiers + name: Microsoft.DBforMySQL/performanceTiers/read + - display: + description: Return the recoverable MySQL Server info + operation: Get Recoverable MySQL Server info + provider: Microsoft DB for MySQL + resource: Recoverable MySQL Server + name: Microsoft.DBforMySQL/servers/recoverableServers/read + - display: + description: Return types of metrics that are available for databases + operation: Get database metric definitions + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/metricDefinitions/read + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Average + displayDescription: CPU percent + displayName: CPU percent + fillGapWithZero: true + name: cpu_percent + unit: Percent + - aggregationType: Average + displayDescription: Memory percent + displayName: Memory percent + fillGapWithZero: true + name: memory_percent + unit: Percent + - aggregationType: Average + displayDescription: IO percent + displayName: IO percent + fillGapWithZero: true + name: io_consumption_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage percentage + displayName: Storage percentage + name: storage_percent + unit: Percent + - aggregationType: Average + displayDescription: Storage used + displayName: Storage used + name: storage_used + unit: Bytes + - aggregationType: Average + displayDescription: Storage limit + displayName: Storage limit + name: storage_limit + unit: Bytes + - aggregationType: Average + displayDescription: Server Log storage percent + displayName: Server Log storage percent + name: serverlog_storage_percent + unit: Percent + - aggregationType: Average + displayDescription: Server Log storage used + displayName: Server Log storage used + name: serverlog_storage_usage + unit: Bytes + - aggregationType: Average + displayDescription: Server Log storage limit + displayName: Server Log storage limit + name: serverlog_storage_limit + unit: Bytes + - aggregationType: Average + displayDescription: Total active connections + displayName: Total active connections + fillGapWithZero: true + name: active_connections + unit: Count + - aggregationType: Average + displayDescription: Total failed connections + displayName: Total failed connections + fillGapWithZero: true + name: connections_failed + unit: Count + - aggregationType: Average + displayDescription: Replication lag in seconds + displayName: Replication lag in seconds + fillGapWithZero: true + name: seconds_behind_master + unit: Count + - display: + description: Gets the disagnostic setting for the resource + operation: Read diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/read + - display: + description: Creates or updates the diagnostic setting for the resource + operation: Write diagnostic setting + provider: Microsoft DB for MySQL + resource: Database Metric Definition + name: Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/write + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/checkNameAvailability': + post: + description: Check the availability of name for resource + operationId: CheckNameAvailability_Execute + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: The required parameters for checking if resource name is available. + in: body + name: nameAvailabilityRequest + required: true + schema: + $ref: '#/definitions/NameAvailabilityRequest' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/NameAvailability' + tags: + - CheckNameAvailability + x-ms-examples: + NameAvailability: + parameters: + api-version: '2017-12-01' + nameAvailabilityRequest: + name: name1 + type: Microsoft.DBforMySQL + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + message: '' + nameAvailable: true + reason: '' + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/performanceTiers': + get: + description: List all the performance tiers at specified location in a given subscription. + operationId: LocationBasedPerformanceTier_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LocationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/PerformanceTierListResult' + tags: + - LocationBasedPerformanceTier + x-ms-examples: + PerformanceTiersList: + parameters: + api-version: '2017-12-01' + locationName: WestUS + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: Basic + serviceLevelObjectives: + - edition: Basic + hardwareGeneration: Gen4 + id: B_Gen4_1 + maxBackupRetentionDays: 35 + maxStorageMB: 1048576 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 1 + - edition: Basic + hardwareGeneration: Gen4 + id: B_Gen4_2 + maxBackupRetentionDays: 35 + maxStorageMB: 1048576 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 2 + - id: GeneralPurpose + serviceLevelObjectives: + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_2 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 2 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_4 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 4 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_8 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 8 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_16 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 16 + - edition: GeneralPurpose + hardwareGeneration: Gen4 + id: GP_Gen4_32 + maxBackupRetentionDays: 35 + maxStorageMB: 2097152 + minBackupRetentionDays: 7 + minStorageMB: 5120 + vCore: 32 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsAzureAsyncOperation/{operationId}': + get: + description: Recommendation action session operation status. + operationId: LocationBasedRecommendedActionSessionsOperationStatus_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LocationNameParameter' + - $ref: '#/parameters/OperationIdParameter' + responses: + '200': + description: OK. + schema: + $ref: '#/definitions/RecommendedActionSessionsOperationStatus' + tags: + - LocationBasedRecommendedActionSessionsOperationStatus + x-ms-examples: + RecommendedActionSessionOperationStatus: + parameters: + api-version: 2018-06-01-privatepreview + locationName: WestUS + operationId: aaaabbbb-cccc-dddd-0000-111122223333 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + name: aaaabbbb-cccc-dddd-0000-111122223333 + startTime: '2019-05-01T17:15:00Z' + status: succeeded + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/recommendedActionSessionsOperationResults/{operationId}': + get: + description: Recommendation action session operation result. + operationId: LocationBasedRecommendedActionSessionsResult_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/LocationNameParameter' + - $ref: '#/parameters/OperationIdParameter' + responses: + '200': + description: Created + schema: + $ref: '#/definitions/RecommendationActionsResultList' + '201': + description: Created + schema: + $ref: '#/definitions/RecommendationActionsResultList' + tags: + - LocationBasedRecommendedActionSessionsResult + x-ms-examples: + RecommendedActionSessionResult: + parameters: + api-version: 2018-06-01-privatepreview + locationName: WestUS + operationId: aaaabbbb-cccc-dddd-0000-111122223333 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + '201': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given subscription. + operationId: Servers_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerList: + parameters: + api-version: '2017-12-01' + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1 + location: westus + name: mysqltestsvc1 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:56:02.627+00:00' + fullyQualifiedDomainName: mysqltestsvc1.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: B_Gen4_2 + tier: Basic + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltstsvc2 + location: westus + name: mysqltstsvc2 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:56:54.3+00:00' + fullyQualifiedDomainName: mysqltstsvc2.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg1/providers/Microsoft.DBforMySQL/servers/mysqltestsvc3 + location: westus + name: mysqltestsvc3 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-02-28T23:59:44.847+00:00' + fullyQualifiedDomainName: mysqltestsvc3.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 102400 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 4 + family: Gen4 + name: GP_Gen4_4 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers': + get: + description: List all the servers in a given resource group. + operationId: Servers_ListByResourceGroup + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Servers + x-ms-examples: + ServerListByResourceGroup: + parameters: + api-version: '2017-12-01' + resourceGroupName: testrg + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1 + location: westus + name: mysqltestsvc1 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-03-07T18:17:35.729321+00:00' + fullyQualifiedDomainName: mysqltestsvc1.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 1 + family: Gen4 + name: B_Gen4_1 + tier: Basic + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltstsvc2 + location: westus + name: mysqltstsvc2 + properties: + administratorLogin: testuser + earliestRestoreDate: '2018-03-07T18:17:35.729321+00:00' + fullyQualifiedDomainName: mysqltstsvc2.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Disabled + storageMB: 5120 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}': + delete: + description: Deletes a server. + operationId: Servers_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Servers + x-ms-examples: + ServerDelete: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server. + operationId: Servers_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + tags: + - Servers + x-ms-examples: + ServerGet: + parameters: + api-version: '2017-12-01' + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + masterServerId: '' + replicaCapacity: 5 + replicationRole: None + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + patch: + description: Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. + operationId: Servers_Update + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerUpdateParameters' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + ServerUpdate: + parameters: + api-version: '2017-12-01' + parameters: + properties: + administratorLoginPassword: newpa$$w0rd + sslEnforcement: Disabled + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Disabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + put: + description: Creates a new server or updates an existing server. The update action will overwrite the existing server. + operationId: Servers_Create + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for creating or updating a server. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerForCreate' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Server' + '201': + description: Created + schema: + $ref: '#/definitions/Server' + '202': + description: Accepted + tags: + - Servers + x-ms-examples: + Create a database as a point in time restore: + parameters: + api-version: '2017-12-01' + parameters: + location: brazilsouth + properties: + createMode: PointInTimeRestore + restorePointInTime: '2017-12-14T00:00:37.467Z' + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: brazilsouth + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: brazilsouth + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + Create a new server: + parameters: + api-version: '2017-12-01' + parameters: + location: westus + properties: + administratorLogin: cloudsa + administratorLoginPassword: pass$w0rd + createMode: Default + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4 + location: westus + name: mysqltestsvc4 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: mysqltestsvc4.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 7 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + Create a replica server: + parameters: + api-version: '2017-12-01' + parameters: + location: westus + properties: + createMode: Replica + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + 'Create a server as a geo restore ': + parameters: + api-version: '2017-12-01' + parameters: + location: westus + properties: + createMode: GeoRestore + sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + resourceGroupName: TargetResourceGroup + serverName: targetserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver + location: westus + name: targetserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-03-14T18:02:41.577+00:00' + fullyQualifiedDomainName: targetserver.mysql.database.azure.com + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 14 + geoRedundantBackup: Enabled + storageMB: 128000 + userVisibleState: Ready + version: '5.7' + sku: + capacity: 2 + family: Gen5 + name: GP_Gen5_2 + tier: GeneralPurpose + tags: + ElasticServer: '1' + type: Microsoft.DBforMySQL/servers + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/Administrators/activeDirectory': + delete: + description: Deletes AAD Administrator. + operationId: ServerAdministrators_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + '202': + description: Accepted + schema: + $ref: '#/definitions/ServerAdministratorResource' + '204': + description: NoContent + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorsDelete: + parameters: + administratorName: activeDirectory + api-version: 2018-06-01-privatepreview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: OK + '202': + body: Accepted + '204': + body: No Content + x-ms-long-running-operation: true + get: + description: Gets information about a AAD server administrator. + operationId: ServerAdministrators_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorGet: + parameters: + administratorName: activeDirectory + api-version: 2018-06-01-privatepreview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: activeDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + put: + description: Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator. + operationId: ServerAdministrators_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for creating or updating an AAD server administrator. + in: body + name: properties + required: true + schema: + $ref: '#/definitions/ServerAdministratorResource' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResource' + '202': + description: Accepted + schema: + $ref: '#/definitions/ServerAdministratorResource' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + ServerAdministratorCreate: + parameters: + administratorName: activeDirectory + api-version: 2018-06-01-privatepreview + properties: + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: activeDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + '202': + body: Accepted + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/administrators': + get: + description: Returns a list of server Administrators. + operationId: ServerAdministrators_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerAdministratorResourceListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerAdministrators + x-ms-examples: + get a list of server administrators: + parameters: + api-version: 2018-06-01-privatepreview + resourceGroupName: testrg + serverName: mysqltestsvc4 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4/administrators/activeDirectory + name: ActiveDirectory + properties: + administratorType: ActiveDirectory + login: bob@contoso.com + sid: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + tenantId: c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c + type: Microsoft.DBforMySQL/servers/administrators + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors': + get: + description: List recommendation action advisors. + operationId: Advisors_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/AdvisorsResultList' + tags: + - Advisors + x-ms-examples: + AdvisorsListByServer: + parameters: + api-version: 2018-06-01-privatepreview + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/advisors/Index + name: Index + properties: {} + type: Microsoft.DBforMySQL/servers/advisors + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}': + get: + description: Get a recommendation action advisor. + operationId: Advisors_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Advisor' + tags: + - Advisors + x-ms-examples: + AdvisorsGet: + parameters: + advisorName: Index + api-version: 2018-06-01-privatepreview + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/advisors/Index + name: Index + properties: {} + type: Microsoft.DBforMySQL/servers/advisors + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/createRecommendedActionSession': + post: + description: Create recommendation action session for the advisor. + operationId: CreateRecommendedActionSession + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - description: The name of the database. + in: query + name: databaseName + required: true + type: string + responses: + '200': + description: OK + '202': + description: Accepted + tags: + - RecommendedActionSessions + x-ms-examples: + RecommendedActionSessionCreate: + parameters: + advisorName: Index + api-version: 2018-06-01-privatepreview + databaseName: someDatabaseName + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions': + get: + description: Retrieve recommended actions from the advisor. + operationId: RecommendedActions_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - description: The recommendation action session identifier. + in: query + name: sessionId + required: false + type: string + responses: + '200': + description: OK + schema: + $ref: '#/definitions/RecommendationActionsResultList' + tags: + - RecommendedActions + x-ms-examples: + RecommendedActionsListByServer: + parameters: + advisorName: Index + api-version: 2018-06-01-privatepreview + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-2 + name: Index-2 + properties: + actionId: 2 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`genre`' + indexName: idx_genre + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_genre` (`genre`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`genre` appear in Group By clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}': + get: + description: Retrieve recommended actions from the advisor. + operationId: RecommendedActions_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/AdvisorNameParameter' + - $ref: '#/parameters/RecommendedActionNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/RecommendationAction' + tags: + - RecommendedActions + x-ms-examples: + RecommendedActionsGet: + parameters: + advisorName: Index + api-version: 2018-06-01-privatepreview + recommendedActionName: Index-1 + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1 + name: Index-1 + properties: + actionId: 1 + advisorName: Index + createdTime: '2019-05-01T23:43:24Z' + details: + engine: InnoDB + indexColumns: '`movies_genres`.`movie_id`' + indexName: idx_movie_id + indexType: BTREE + parentTableName: movies_genres + queryIds: '779' + schemaName: movies + script: alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`) + tableName: movies_genres + expirationTime: '2019-05-08T23:43:24Z' + reason: Column `movies_genres`.`movie_id` appear in Join On clause(s). + recommendationType: Add + sessionId: c63c2114-e2a4-4c7a-98c1-85577d1a5d50 + type: Microsoft.DBforMySQL/servers/advisors/recommendedActions + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations': + get: + description: List all the configurations in a given server. + operationId: Configurations_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ConfigurationListResult' + tags: + - Configurations + x-ms-examples: + ConfigurationList: + parameters: + api-version: '2017-12-01' + resourceGroupName: testrg + serverName: mysqltestsvc1 + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/div_precision_increment + name: div_precision_increment + properties: + allowedValues: 0-30 + dataType: Integer + defaultValue: '4' + description: Number of digits by which to increase the scale of the result of division operations. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/group_concat_max_len + name: group_concat_max_len + properties: + allowedValues: 4-16777216 + dataType: Integer + defaultValue: '1024' + description: Maximum allowed result length in bytes for the GROUP_CONCAT(). + source: system-default + value: '1024' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_adaptive_hash_index + name: innodb_adaptive_hash_index + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'ON' + description: Whether innodb adaptive hash indexes are enabled or disabled. + source: system-default + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_lock_wait_timeout + name: innodb_lock_wait_timeout + properties: + allowedValues: 1-3600 + dataType: Integer + defaultValue: '50' + description: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. + source: system-default + value: '50' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/interactive_timeout + name: interactive_timeout + properties: + allowedValues: 10-1800 + dataType: Integer + defaultValue: '1800' + description: Number of seconds the server waits for activity on an interactive connection before closing it. + source: system-default + value: '1800' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_queries_not_using_indexes + name: log_queries_not_using_indexes + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Logs queries that are expected to retrieve all rows to slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_throttle_queries_not_using_indexes + name: log_throttle_queries_not_using_indexes + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '0' + description: Limits the number of such queries per minute that can be written to the slow query log. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_admin_statements + name: log_slow_admin_statements + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Include slow administrative statements in the statements written to the slow query log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_slave_statements + name: log_slow_slave_statements + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: 'When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.' + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_bin_trust_function_creators + name: log_bin_trust_function_creators + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/long_query_time + name: long_query_time + properties: + allowedValues: 0-1E+100 + dataType: Numeric + defaultValue: '10' + description: 'If a query takes longer than this many seconds, the server increments the Slow_queries status variable.' + source: system-default + value: '10' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/min_examined_row_limit + name: min_examined_row_limit + properties: + allowedValues: 0-18446744073709551615 + dataType: Integer + defaultValue: '0' + description: Can be used to cause queries which examine fewer than the stated number of rows not to be logged. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slow_query_log + name: slow_query_log + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: Enable or disable the slow query log + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/sql_mode + name: sql_mode + properties: + allowedValues: ',ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES' + dataType: Set + defaultValue: '' + description: The current server SQL mode. + source: system-default + value: '' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/wait_timeout + name: wait_timeout + properties: + allowedValues: 60-86400 + dataType: Integer + defaultValue: '120' + description: The number of seconds the server waits for activity on a noninteractive connection before closing it. + source: system-default + value: '120' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/net_read_timeout + name: net_read_timeout + properties: + allowedValues: 10-3600 + dataType: Integer + defaultValue: '120' + description: 'The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.' + source: system-default + value: '120' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/net_write_timeout + name: net_write_timeout + properties: + allowedValues: 10-3600 + dataType: Integer + defaultValue: '240' + description: 'The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.' + source: system-default + value: '240' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/server_id + name: server_id + properties: + allowedValues: 1000-4294967295 + dataType: Integer + defaultValue: '1000' + description: 'The server ID, used in replication to give each master and slave a unique identity.' + source: user-override + value: '1381286943' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_allowed_packet + name: max_allowed_packet + properties: + allowedValues: 1024-1073741824 + dataType: Integer + defaultValue: '536870912' + description: 'The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.' + source: system-default + value: '536870912' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_net_timeout + name: slave_net_timeout + properties: + allowedValues: 30-3600 + dataType: Integer + defaultValue: '60' + description: 'The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.' + source: system-default + value: '60' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/time_zone + name: time_zone + properties: + allowedValues: '[+|-][0]{0,1}[0-9]:[0-5][0-9]|[+|-][1][0-2]:[0-5][0-9]|SYSTEM' + dataType: String + defaultValue: SYSTEM + description: The server time zone + source: system-default + value: SYSTEM + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/binlog_group_commit_sync_delay + name: binlog_group_commit_sync_delay + properties: + allowedValues: '0,11-1000000' + dataType: Integer + defaultValue: '1000' + description: Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. + source: system-default + value: '1000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/binlog_group_commit_sync_no_delay_count + name: binlog_group_commit_sync_no_delay_count + properties: + allowedValues: 0-1000000 + dataType: Integer + defaultValue: '0' + description: The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/character_set_server + name: character_set_server + properties: + allowedValues: 'BIG5,DEC8,CP850,HP8,KOI8R,LATIN1,LATIN2,SWE7,ASCII,UJIS,SJIS,HEBREW,TIS620,EUCKR,KOI8U,GB2312,GREEK,CP1250,GBK,LATIN5,ARMSCII8,UTF8,UCS2,CP866,KEYBCS2,MACCE,MACROMAN,CP852,LATIN7,UTF8MB4,CP1251,UTF16,CP1256,CP1257,UTF32,BINARY,GEOSTD8,CP932,EUCJPMS' + dataType: Enumeration + defaultValue: latin1 + description: Use charset_name as the default server character set. + source: system-default + value: latin1 + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/join_buffer_size + name: join_buffer_size + properties: + allowedValues: 128-2097152 + dataType: Integer + defaultValue: '262144' + description: 'The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.' + source: system-default + value: '262144' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/table_open_cache + name: table_open_cache + properties: + allowedValues: 1-4000 + dataType: Integer + defaultValue: '2000' + description: The number of open tables for all threads. + source: system-default + value: '2000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/lower_case_table_names + name: lower_case_table_names + properties: + allowedValues: '1,2' + dataType: Enumeration + defaultValue: '1' + description: 'If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.' + source: system-default + value: '1' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_compressed_protocol + name: slave_compressed_protocol + properties: + allowedValues: 'ON,OFF' + dataType: Enumeration + defaultValue: 'OFF' + description: This option places an upper limit on the total size in bytes of all relay logs on the slave. + source: system-default + value: 'OFF' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_io_capacity + name: innodb_io_capacity + properties: + allowedValues: 100-1500 + dataType: Integer + defaultValue: '200' + description: 'Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.' + source: system-default + value: '200' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_read_io_threads + name: innodb_read_io_threads + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of I/O threads for read operations in InnoDB. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_thread_concurrency + name: innodb_thread_concurrency + properties: + allowedValues: 0-1000 + dataType: Integer + defaultValue: '0' + description: InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable. + source: system-default + value: '0' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_write_io_threads + name: innodb_write_io_threads + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of I/O threads for write operations in InnoDB. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_page_cleaners + name: innodb_page_cleaners + properties: + allowedValues: 1-64 + dataType: Integer + defaultValue: '4' + description: The number of page cleaner threads that flush dirty pages from buffer pool instances. + source: system-default + value: '4' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_online_alter_log_max_size + name: innodb_online_alter_log_max_size + properties: + allowedValues: 65536-2147483648 + dataType: Integer + defaultValue: '134217728' + description: Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables. + source: system-default + value: '134217728' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/init_connect + name: init_connect + properties: + allowedValues: '' + dataType: String + defaultValue: '' + description: A string to be executed by the server for each client that connects. + source: system-default + value: '' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/tx_isolation + name: tx_isolation + properties: + allowedValues: 'READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE' + dataType: Enumeration + defaultValue: REPEATABLE-READ + description: The default transaction isolation level. + source: system-default + value: REPEATABLE-READ + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/eq_range_index_dive_limit + name: eq_range_index_dive_limit + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '200' + description: This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows. + source: system-default + value: '200' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_old_blocks_pct + name: innodb_old_blocks_pct + properties: + allowedValues: 5-95 + dataType: Integer + defaultValue: '37' + description: Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist. + source: system-default + value: '37' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_old_blocks_time + name: innodb_old_blocks_time + properties: + allowedValues: 0-4294967295 + dataType: Integer + defaultValue: '1000' + description: 'Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.' + source: system-default + value: '1000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_read_ahead_threshold + name: innodb_read_ahead_threshold + properties: + allowedValues: 0-64 + dataType: Integer + defaultValue: '56' + description: Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool. + source: system-default + value: '56' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_length_for_sort_data + name: max_length_for_sort_data + properties: + allowedValues: 4-8388608 + dataType: Integer + defaultValue: '1024' + description: The cutoff on the size of index values that determines which filesort algorithm to use. + source: system-default + value: '1024' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/max_connect_errors + name: max_connect_errors + properties: + allowedValues: 1-18446744073709551615 + dataType: Integer + defaultValue: '100' + description: 'If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.' + source: system-default + value: '100' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_thread_sleep_delay + name: innodb_thread_sleep_delay + properties: + allowedValues: 0-1000000 + dataType: Integer + defaultValue: '10000' + description: 'Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.' + source: system-default + value: '10000' + type: Microsoft.DBforMySQL/servers/configurations + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/innodb_file_format + name: innodb_file_format + properties: + allowedValues: 'Antelope,Barracuda' + dataType: Enumeration + defaultValue: Barracuda + description: Indicates the InnoDB file format for file-per-table tablespaces. + source: system-default + value: Barracuda + type: Microsoft.DBforMySQL/servers/configurations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}': + get: + description: Gets information about a configuration of server. + operationId: Configurations_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + tags: + - Configurations + x-ms-examples: + ConfigurationGet: + parameters: + api-version: '2017-12-01' + configurationName: event_scheduler + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: user-override + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + put: + description: Updates a configuration of a server. + operationId: Configurations_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/ConfigurationNameParameter' + - description: The required parameters for updating a server configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Configuration' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Configuration' + '202': + description: Accepted + tags: + - Configurations + x-ms-examples: + ConfigurationCreateOrUpdate: + parameters: + api-version: '2017-12-01' + configurationName: event_scheduler + parameters: + properties: + source: user-override + value: 'off' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/configurations/event_scheduler + name: event_scheduler + properties: + allowedValues: 'ON,OFF,DISABLED' + dataType: Enumeration + defaultValue: 'OFF' + description: Indicates the status of the Event Scheduler. + source: user-override + value: 'ON' + type: Microsoft.DBforMySQL/servers/configurations + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases': + get: + description: List all the databases in a given server. + operationId: Databases_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/DatabaseListResult' + tags: + - Databases + x-ms-examples: + DatabaseList: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db2 + name: db2 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/databases/{databaseName}': + delete: + description: Deletes a database. + operationId: Databases_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - Databases + x-ms-examples: + DatabaseDelete: + parameters: + api-version: '2017-12-01' + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a database. + operationId: Databases_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + tags: + - Databases + x-ms-examples: + DatabaseGet: + parameters: + api-version: '2017-12-01' + databaseName: db1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + put: + description: Creates a new database or updates an existing database. + operationId: Databases_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/DatabaseNameParameter' + - description: The required parameters for creating or updating a database. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/Database' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/Database' + '201': + description: Created + schema: + $ref: '#/definitions/Database' + '202': + description: Accepted + tags: + - Databases + x-ms-examples: + DatabaseCreate: + parameters: + api-version: '2017-12-01' + databaseName: db1 + parameters: + properties: + charset: utf8 + collation: utf8_general_ci + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 + name: db1 + properties: + charset: utf8 + collation: utf8_general_ci + type: Microsoft.DBforMySQL/servers/databases + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules': + get: + description: List all the firewall rules in a given server. + operationId: FirewallRules_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRuleListResult' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleList: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule2 + name: rule2 + properties: + endIpAddress: 255.0.0.0 + startIpAddress: 1.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/firewallRules/{firewallRuleName}': + delete: + description: Deletes a server firewall rule. + operationId: FirewallRules_Delete + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + '204': + description: NoContent + tags: + - FirewallRules + x-ms-examples: + FirewallRuleDelete: + parameters: + api-version: '2017-12-01' + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about a server firewall rule. + operationId: FirewallRules_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + tags: + - FirewallRules + x-ms-examples: + FirewallRuleGet: + parameters: + api-version: '2017-12-01' + firewallRuleName: rule1 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + put: + description: Creates a new firewall rule or updates an existing firewall rule. + operationId: FirewallRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/FirewallRuleNameParameter' + - description: The required parameters for creating or updating a firewall rule. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallRule' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/FirewallRule' + '201': + description: Created + schema: + $ref: '#/definitions/FirewallRule' + '202': + description: Accepted + tags: + - FirewallRules + x-ms-examples: + FirewallRuleCreate: + parameters: + api-version: '2017-12-01' + firewallRuleName: rule1 + parameters: + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/firewallRules/rule1 + name: rule1 + properties: + endIpAddress: 255.255.255.255 + startIpAddress: 0.0.0.0 + type: Microsoft.DBforMySQL/servers/firewallRules + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/logFiles': + get: + description: List all the log files in a given server. + operationId: LogFiles_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/LogFileListResult' + tags: + - LogFiles + x-ms-examples: + LogFileList: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/logFiles/mysql-slow-mysqltestsvc1-2018022823.log + name: mysql-slow-mysqltestsvc1-2018022823.log + properties: + createdTime: '0001-01-01T00:00:00+00:00' + lastModifiedTime: '2018-03-01T06:09:20+00:00' + sizeInKB: 1 + type: slowlog + url: 'https://wasd2prodwus1afse42.file.core.windows.net/833c99b2f36c47349e5554b903fe0440/serverlogs/mysql-slow-mysqltestsvc1-2018022823.log?sv=2015-04-05&sr=f&sig=D9Ga4N5Pa%2BPe5Bmjpvs7A0TPD%2FF7IZpk9e4KWR0jgpM%3D&se=2018-03-01T07%3A12%3A13Z&sp=r' + type: Microsoft.DBforMySQL/servers/logFiles + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts': + get: + description: Retrieve the Query-Store query texts for specified queryIds. + operationId: QueryTexts_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - collectionFormat: multi + description: The query identifiers + in: query + items: + type: string + name: queryIds + required: true + type: array + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryTextsResultList' + tags: + - QueryTexts + x-ms-examples: + QueryTextsListByServer: + parameters: + api-version: 2018-06-01-privatepreview + queryIds: + - '1' + - '2' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/1 + name: '1' + properties: + queryId: '1' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?' + type: Microsoft.DBforMySQL/servers/queryTexts + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/2 + name: '2' + properties: + queryId: '2' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME LIKE ?' + type: Microsoft.DBforMySQL/servers/queryTexts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/queryTexts/{queryId}': + get: + description: Retrieve the Query-Store query texts for the queryId. + operationId: QueryTexts_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/QueryIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryText' + tags: + - QueryTexts + x-ms-examples: + QueryTextsGet: + parameters: + api-version: 2018-06-01-privatepreview + queryId: 1 + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryTexts/1 + name: '1' + properties: + queryId: '1' + queryText: 'UPDATE `performance_schema`.`setup_instruments` SET `ENABLED` = ? , `TIMED` = ? WHERE NAME = ?' + type: Microsoft.DBforMySQL/servers/queryTexts + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas': + get: + description: List all the replicas for a given server. + operationId: Replicas_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ServerListResult' + tags: + - Replicas + x-ms-examples: + ReplicasListByServer: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testmaster + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver + location: northeurope + name: testserver + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver1 + location: northeurope + name: testserver1 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver1.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver2 + location: northeurope + name: testserver2 + properties: + administratorLogin: cloudsa + earliestRestoreDate: '2018-06-11T23:56:54.3+00:00' + fullyQualifiedDomainName: testserver2.mysql.database.azure.com + masterServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testmaster + replicaCapacity: 0 + replicationRole: Replica + sslEnforcement: Enabled + storageProfile: + backupRetentionDays: 35 + geoRedundantBackup: Enabled + storageMB: 256000 + userVisibleState: Ready + version: '5.6' + sku: + capacity: 2 + family: Gen4 + name: GP_Gen4_2 + tier: GeneralPurpose + tags: + elasticServer: '1' + type: Microsoft.DBforMySQL/servers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/restart': + post: + description: Restarts a server. + operationId: Servers_Restart + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + responses: + '200': + description: OK + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ServerRestart + x-ms-examples: + ServerRestart: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: testserver + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}': + get: + description: Get a server's security alert policy. + operationId: ServerSecurityAlertPolicies_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the security alert policy. + enum: + - Default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-enum: + modelAsString: true + name: SecurityAlertPolicyName + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the server threat detection policy. + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + default: + description: Error response describing why the operation of getting security alert policies failed. + tags: + - ServerSecurityAlertPolicies + x-ms-examples: + Get a server's threat detection policy: + parameters: + api-version: 2017-03-01-preview + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: + - Access_Anomaly + emailAccountAdmins: true + emailAddresses: + - test@microsoft.com;user@microsoft.com + retentionDays: 0 + state: Disabled + storageEndpoint: 'https://mystorage.blob.core.windows.net' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + put: + description: Creates or updates a threat detection policy. + operationId: ServerSecurityAlertPolicies_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The name of the threat detection policy. + enum: + - Default + in: path + name: securityAlertPolicyName + required: true + type: string + x-ms-enum: + modelAsString: true + name: SecurityAlertPolicyName + - description: The server security alert policy. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully updated the threat detection policy. + schema: + $ref: '#/definitions/ServerSecurityAlertPolicy' + '202': + description: Created request to set the server threat detection policy. + default: + description: Error response describing why the operation of setting security alert policies failed. + tags: + - ServerSecurityAlertPolicies + x-ms-examples: + Update a server's threat detection policy with all parameters: + parameters: + api-version: '2017-12-01' + parameters: + properties: + disabledAlerts: + - Access_Anomaly + - Usage_Anomaly + emailAccountAdmins: true + emailAddresses: + - testSecurityAlert@microsoft.com + retentionDays: 5 + state: Enabled + storageAccountAccessKey: sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD== + storageEndpoint: 'https://mystorage.blob.core.windows.net' + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: + - Access_Anomaly + - Usage_Anomaly + emailAccountAdmins: true + emailAddresses: + - testSecurityAlert@microsoft.com + retentionDays: 5 + state: Enabled + storageEndpoint: 'https://mystorage.blob.core.windows.net' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + '202': {} + Update a server's threat detection policy with minimal parameters: + parameters: + api-version: '2017-12-01' + parameters: + properties: + emailAccountAdmins: true + state: Disabled + resourceGroupName: securityalert-4799 + securityAlertPolicyName: Default + serverName: securityalert-6440 + subscriptionId: 00000000-1111-2222-3333-444444444444 + responses: + '200': + body: + id: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default + name: Default + properties: + disabledAlerts: [] + emailAccountAdmins: true + emailAddresses: [] + retentionDays: 0 + state: Enabled + storageEndpoint: '' + type: Microsoft.DBforMySQL/servers/securityAlertPolicies + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics': + get: + description: Retrieve the Query-Store top queries for specified metric and aggregation. + operationId: TopQueryStatistics_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for retrieving top query statistics. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopQueryStatisticsInput' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/TopQueryStatisticsResultList' + tags: + - TopQueryStatistics + x-ms-examples: + TopQueryStatisticsListByServer: + parameters: + api-version: 2018-06-01-privatepreview + parameters: + properties: + aggregationFunction: avg + aggregationWindow: PT15M + numberOfTopQueries: 5 + observationEndTime: '2019-05-07T20:00:00.000Z' + observationStartTime: '2019-05-01T20:00:00.000Z' + observedMetric: duration + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration + name: 66-636923268000000000-636923277000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-01T17:15:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 123.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-01T17:00:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636924483000000000-636924492000000000-avg-duration + name: 66-636924483000000000-636924492000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-03T03:00:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 1712.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-03T02:45:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics/{queryStatisticId}': + get: + description: Retrieve the query statistic for specified identifier. + operationId: TopQueryStatistics_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/QueryStatisticIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/QueryStatistic' + tags: + - TopQueryStatistics + x-ms-examples: + TopQueryStatisticsGet: + parameters: + api-version: 2018-06-01-privatepreview + queryStatisticId: 66-636923268000000000-636923277000000000-avg-duration + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration + name: 66-636923268000000000-636923277000000000-avg-duration + properties: + aggregationFunction: avg + databaseNames: + - /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-01T17:15:00Z' + metricDisplayName: Query duration + metricName: duration + metricValue: 123.301446136 + metricValueUnit: milliseconds + queryExecutionCount: 1 + queryId: '66' + startTime: '2019-05-01T17:00:00Z' + type: Microsoft.DBforMySQL/servers/queryStatistics + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules': + get: + description: Gets a list of virtual network rules in a server. + operationId: VirtualNetworkRules_ListByServer + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully retrieved the list of virtual network rules. + schema: + $ref: '#/definitions/VirtualNetworkRuleListResult' + default: + description: |- + *** Error Responses: *** + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 ResourceNotFound - The requested resource was not found. + tags: + - VirtualNetworkRules + x-ms-examples: + List virtual network rules: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}': + delete: + description: Deletes the virtual network rule with the given name. + operationId: VirtualNetworkRules_Delete + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Successfully deleted the virtual network rule. + '202': + description: Accepted + '204': + description: The specified virtual network rule does not exist. + default: + description: |- + *** Error Responses: *** + + * 400 InvalidResourceId - Invalid resource identifier. + + * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url. + + * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url. + + * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url. + + * 400 NullVirtualNetworkRequest - Virtual Network Request is Null + + * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 OperationIdNotFound - The operation with Id does not exist. + + * 409 OperationCancelled - The operation has been cancelled by user. + + * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource. + + * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation. + tags: + - VirtualNetworkRules + x-ms-examples: + Delete a virtual network rule: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a virtual network rule. + operationId: VirtualNetworkRules_Get + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + responses: + '200': + description: Successfully retrieved a specified virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + default: + description: |- + *** Error Responses: *** + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 ResourceNotFound - The requested resource was not found. + tags: + - VirtualNetworkRules + x-ms-examples: + Gets a virtual network rule: + parameters: + api-version: '2017-12-01' + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + state: Ready + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + put: + description: Creates or updates an existing virtual network rule. + operationId: VirtualNetworkRules_CreateOrUpdate + parameters: + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/virtualNetworkRuleNameParameter' + - description: The requested virtual Network Rule Resource state. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkRule' + responses: + '200': + description: Successfully updated a virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + '201': + description: Successfully created a virtual network rule. + schema: + $ref: '#/definitions/VirtualNetworkRule' + '202': + description: Accepted + default: + description: |- + *** Error Responses: *** + + * 400 InvalidResourceId - Invalid resource identifier. + + * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url. + + * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url. + + * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url. + + * 400 NullVirtualNetworkRequest - Virtual Network Request is Null + + * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null + + * 400 NullVirtualNetworkSubnetId - The Virtual Network Subnet Id is null + + * 404 SubscriptionDoesNotHaveServer - The requested server was not found + + * 404 VirtualNetworkRuleNotEnabled - Azure SQL Server Virtual Network Rule feature is not enabled + + * 404 OperationIdNotFound - The operation with Id does not exist. + + * 409 OperationCancelled - The operation has been cancelled by user. + + * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource. + + * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation. + tags: + - VirtualNetworkRules + x-ms-examples: + Create or update a virtual network rule: + parameters: + api-version: '2017-12-01' + parameters: + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + resourceGroupName: TestGroup + serverName: vnet-test-svr + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + virtualNetworkRuleName: vnet-firewall-rule + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + '201': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule + name: vnet-firewall-rule + properties: + ignoreMissingVnetServiceEndpoint: false + virtualNetworkSubnetId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet + type: Microsoft.DBforMySQL/servers/virtualNetworkRules + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics': + get: + description: Retrieve wait statistics for specified aggregation window. + operationId: WaitStatistics_ListByServer + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - description: The required parameters for retrieving wait statistics. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/WaitStatisticsInput' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/WaitStatisticsResultList' + tags: + - WaitStatistics + x-ms-examples: + WaitStatisticsListByServer: + parameters: + api-version: 2018-06-01-privatepreview + parameters: + properties: + aggregationWindow: PT15M + observationEndTime: '2019-05-07T20:00:00.000Z' + observationStartTime: '2019-05-01T20:00:00.000Z' + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + responses: + '200': + body: + value: + - id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + name: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + properties: + count: 2 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-06T17:45:00Z' + eventName: wait/io/socket/sql/client_connection + eventTypeName: send + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 12.345 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics + - id: '/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMySQL/servers/hyshim-wait-stats-fix/waitStatistics/636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0' + name: '636927606000000000-636927615000000000-lock-wait/synch/mutex/mysys/THR_LOCK::mutex-2--0' + properties: + count: 4 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/hyshim-test/providers/Microsoft.DBforMySQL/servers/hyshim-wait-stats-fix/databases/ + endTime: '2019-05-06T17:45:00Z' + eventName: 'wait/synch/mutex/mysys/THR_LOCK::mutex' + eventTypeName: lock + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 56.789 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics/{waitStatisticsId}': + get: + description: Retrieve wait statistics for specified identifier. + operationId: WaitStatistics_Get + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - $ref: '#/parameters/ResourceGroupParameter' + - $ref: '#/parameters/ServerNameParameter' + - $ref: '#/parameters/WaitStatisticsIdParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/WaitStatistic' + tags: + - WaitStatistics + x-ms-examples: + WaitStatisticsGet: + parameters: + api-version: 2018-06-01-privatepreview + resourceGroupName: testResourceGroupName + serverName: testServerName + subscriptionId: ffffffff-ffff-ffff-ffff-ffffffffffff + waitStatisticsId: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + responses: + '200': + body: + id: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + name: 636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0 + properties: + count: 2 + databaseName: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql + endTime: '2019-05-06T17:45:00Z' + eventName: wait/io/socket/sql/client_connection + eventTypeName: send + queryId: 2 + startTime: '2019-05-06T17:30:00Z' + totalTimeInMs: 12.345 + userId: 0 + type: Microsoft.DBforMySQL/servers/waitStatistics +definitions: + Advisor: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a recommendation action advisor. + properties: + properties: + $ref: '#/definitions/AdvisorProperties' + description: The properties of a recommendation action advisor. + x-ms-client-flatten: true + AdvisorProperties: + description: The properties of a recommendation action advisor. + properties: {} + AdvisorsResultList: + description: A list of query statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of recommendation action advisors. + items: + $ref: '#/definitions/Advisor' + readOnly: true + type: array + type: object + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + Configuration: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Configuration. + properties: + properties: + $ref: '#/definitions/ConfigurationProperties' + description: The properties of a configuration. + x-ms-client-flatten: true + ConfigurationListResult: + description: A list of server configurations. + properties: + value: + description: The list of server configurations. + items: + $ref: '#/definitions/Configuration' + type: array + ConfigurationProperties: + description: The properties of a configuration. + properties: + allowedValues: + description: Allowed values of the configuration. + readOnly: true + type: string + dataType: + description: Data type of the configuration. + readOnly: true + type: string + defaultValue: + description: Default value of the configuration. + readOnly: true + type: string + description: + description: Description of the configuration. + readOnly: true + type: string + source: + description: Source of the configuration. + type: string + value: + description: Value of the configuration. + type: string + Database: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Database. + properties: + properties: + $ref: '#/definitions/DatabaseProperties' + description: The properties of a database. + x-ms-client-flatten: true + DatabaseListResult: + description: A List of databases. + properties: + value: + description: The list of databases housed in a server + items: + $ref: '#/definitions/Database' + type: array + DatabaseProperties: + description: The properties of a database. + properties: + charset: + description: The charset of the database. + type: string + collation: + description: The collation of the database. + type: string + FirewallRule: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a server firewall rule. + properties: + properties: + $ref: '#/definitions/FirewallRuleProperties' + description: The properties of a firewall rule. + x-ms-client-flatten: true + required: + - properties + FirewallRuleListResult: + description: A list of firewall rules. + properties: + value: + description: The list of firewall rules in a server. + items: + $ref: '#/definitions/FirewallRule' + type: array + FirewallRuleProperties: + description: The properties of a server firewall rule. + properties: + endIpAddress: + description: The end IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + startIpAddress: + description: The start IP address of the server firewall rule. Must be IPv4 format. + pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' + type: string + required: + - startIpAddress + - endIpAddress + LogFile: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a log file. + properties: + name: + description: The name of the log file. + type: string + properties: + $ref: '#/definitions/LogFileProperties' + description: The properties of the log file. + x-ms-client-flatten: true + LogFileListResult: + description: A list of log files. + properties: + value: + description: The list of log files. + items: + $ref: '#/definitions/LogFile' + type: array + LogFileProperties: + description: The properties of a log file. + properties: + createdTime: + description: Creation timestamp of the log file. + format: date-time + readOnly: true + type: string + lastModifiedTime: + description: Last modified timestamp of the log file. + format: date-time + readOnly: true + type: string + sizeInKB: + description: Size of the log file. + format: int64 + type: integer + type: + description: Type of the log file. + type: string + url: + description: The url to download the log file from. + type: string + NameAvailability: + description: Represents a resource name availability. + properties: + message: + description: Error Message. + type: string + nameAvailable: + description: Indicates whether the resource name is available. + type: boolean + reason: + description: Reason for name being unavailable. + type: string + NameAvailabilityRequest: + description: Request from client to check resource name availability. + properties: + name: + description: Resource name to verify. + type: string + type: + description: Resource type used for verification. + type: string + required: + - name + Operation: + description: REST API operation definition. + properties: + display: + $ref: '#/definitions/OperationDisplay' + description: The localized display information for this particular operation or action. + readOnly: true + name: + description: The name of the operation being performed on this particular object. + readOnly: true + type: string + origin: + description: The intended executor of the operation. + enum: + - NotSpecified + - user + - system + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: OperationOrigin + properties: + additionalProperties: + type: object + description: Additional descriptions for the operation. + readOnly: true + type: object + x-ms-client-flatten: false + OperationDisplay: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + readOnly: true + type: string + operation: + description: Localized friendly name for the operation. + readOnly: true + type: string + provider: + description: Operation resource provider name. + readOnly: true + type: string + resource: + description: Resource on which the operation is performed. + readOnly: true + type: string + OperationListResult: + description: A list of resource provider operations. + properties: + value: + description: The list of resource provider operations. + items: + $ref: '#/definitions/Operation' + type: array + PerformanceTierListResult: + description: A list of performance tiers. + properties: + value: + description: The list of performance tiers + items: + $ref: '#/definitions/PerformanceTierProperties' + type: array + PerformanceTierProperties: + description: Performance tier properties + properties: + id: + description: ID of the performance tier. + type: string + serviceLevelObjectives: + description: Service level objectives associated with the performance tier + items: + $ref: '#/definitions/PerformanceTierServiceLevelObjectives' + type: array + PerformanceTierServiceLevelObjectives: + description: Service level objectives for performance tier. + properties: + edition: + description: Edition of the performance tier. + type: string + hardwareGeneration: + description: Hardware generation associated with the service level objective + type: string + id: + description: ID for the service level objective. + type: string + maxBackupRetentionDays: + description: Maximum Backup retention in days for the performance tier edition + type: integer + maxStorageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + minBackupRetentionDays: + description: Minimum Backup retention in days for the performance tier edition + type: integer + minStorageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + vCore: + description: vCore associated with the service level objective + type: integer + ProxyResource: + description: Resource properties. + properties: + id: + description: Resource ID + readOnly: true + type: string + name: + description: Resource name. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + QueryStatistic: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Query Statistic. + properties: + properties: + $ref: '#/definitions/QueryStatisticProperties' + description: The properties of a query statistic. + x-ms-client-flatten: true + QueryStatisticProperties: + description: The properties of a query statistic. + properties: + aggregationFunction: + description: Aggregation function name. + type: string + databaseNames: + description: The list of database names. + items: + type: string + type: array + endTime: + description: Observation end time. + format: date-time + type: string + metricDisplayName: + description: Metric display name. + type: string + metricName: + description: Metric name. + type: string + metricValue: + description: Metric value. + format: double + type: number + metricValueUnit: + description: Metric value unit. + type: string + queryExecutionCount: + description: Number of query executions in this time interval. + format: int64 + type: integer + queryId: + description: Database query identifier. + type: string + startTime: + description: Observation start time. + format: date-time + type: string + QueryText: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Query Text. + properties: + properties: + $ref: '#/definitions/QueryTextProperties' + description: The properties of a query text. + x-ms-client-flatten: true + QueryTextProperties: + description: The properties of a query text. + properties: + queryId: + description: Query identifier unique to the server. + type: string + queryText: + description: Query text. + type: string + QueryTextsResultList: + description: A list of query texts. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of query texts. + items: + $ref: '#/definitions/QueryText' + readOnly: true + type: array + type: object + RecommendationAction: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Recommendation Action. + properties: + properties: + $ref: '#/definitions/RecommendationActionProperties' + description: The properties of a recommendation action. + x-ms-client-flatten: true + RecommendationActionProperties: + description: The properties of a recommendation action. + properties: + actionId: + description: Recommendation action identifier. + format: int32 + type: integer + advisorName: + description: Advisor name. + type: string + createdTime: + description: Recommendation action creation time. + format: date-time + type: string + details: + additionalProperties: + type: string + description: Recommendation action details. + type: object + expirationTime: + description: Recommendation action expiration time. + format: date-time + type: string + reason: + description: Recommendation action reason. + type: string + recommendationType: + description: Recommendation action type. + type: string + sessionId: + description: Recommendation action session identifier. + type: string + RecommendationActionsResultList: + description: A list of recommendation actions. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of recommendation action advisors. + items: + $ref: '#/definitions/RecommendationAction' + readOnly: true + type: array + type: object + RecommendedActionSessionsOperationStatus: + description: Recommendation action session operation status. + properties: + name: + description: Operation identifier. + type: string + startTime: + description: Operation start time. + format: date-time + type: string + status: + description: Operation status. + type: string + ResourceIdentity: + description: Azure Active Directory identity configuration for a resource. + properties: + principalId: + description: The Azure Active Directory principal id. + format: uuid + readOnly: true + type: string + tenantId: + description: The Azure Active Directory tenant id. + format: uuid + readOnly: true + type: string + type: + description: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + enum: + - SystemAssigned + type: string + x-ms-enum: + modelAsString: true + name: IdentityType + type: object + SecurityAlertPolicyProperties: + description: Properties of a security alert policy. + properties: + disabledAlerts: + description: 'Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly' + items: + type: string + type: array + emailAccountAdmins: + description: Specifies that the alert is sent to the account administrators. + type: boolean + emailAddresses: + description: Specifies an array of e-mail addresses to which the alert is sent. + items: + type: string + type: array + retentionDays: + description: Specifies the number of days to keep in the Threat Detection audit logs. + format: int32 + type: integer + state: + description: 'Specifies the state of the policy, whether it is enabled or disabled.' + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: false + name: ServerSecurityAlertPolicyState + storageAccountAccessKey: + description: Specifies the identifier key of the Threat Detection audit storage account. + type: string + storageEndpoint: + description: 'Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.' + type: string + required: + - state + type: object + Server: + allOf: + - $ref: '#/definitions/TrackedResource' + description: Represents a server. + properties: + identity: + $ref: '#/definitions/ResourceIdentity' + description: The Azure Active Directory identity of the server. + properties: + $ref: '#/definitions/ServerProperties' + description: Properties of the server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + ServerAdministratorProperties: + description: The properties of an server Administrator. + properties: + administratorType: + description: The type of administrator. + enum: + - ActiveDirectory + type: string + x-ms-enum: + name: AdministratorType + login: + description: The server administrator login value. + type: string + sid: + description: The server administrator Sid (Secure ID). + format: uuid + type: string + tenantId: + description: The server Active Directory Administrator tenant id. + format: uuid + type: string + required: + - tenantId + - administratorType + - login + - sid + ServerAdministratorResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a and external administrator to be created. + properties: + properties: + $ref: '#/definitions/ServerAdministratorProperties' + description: Properties of the server AAD administrator. + x-ms-client-flatten: true + ServerAdministratorResourceListResult: + description: The response to a list Active Directory Administrators request. + properties: + value: + description: The list of server Active Directory Administrators for the server. + items: + $ref: '#/definitions/ServerAdministratorResource' + type: array + ServerForCreate: + description: Represents a server to be created. + properties: + location: + description: The location the resource resides in. + type: string + properties: + $ref: '#/definitions/ServerPropertiesForCreate' + description: Properties of the server. + x-ms-client-flatten: false + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - properties + - location + ServerListResult: + description: A list of servers. + properties: + value: + description: The list of servers + items: + $ref: '#/definitions/Server' + type: array + ServerProperties: + description: The properties of a server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + earliestRestoreDate: + description: Earliest restore point creation time (ISO8601 format) + format: date-time + type: string + fullyQualifiedDomainName: + description: The fully qualified domain name of a server. + type: string + masterServerId: + description: The master server id of a replica server. + type: string + replicaCapacity: + description: The maximum number of replicas that a master server can have. + format: int32 + minimum: 0 + type: integer + replicationRole: + description: The replication role of the server. + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + userVisibleState: + description: A state of a server that is visible to user. + enum: + - Ready + - Dropping + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ServerState + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + ServerPropertiesForCreate: + description: The properties used to create a new server. + discriminator: createMode + properties: + createMode: + description: The mode to create a new server. + enum: + - Default + - PointInTimeRestore + - GeoRestore + - Replica + type: string + x-ms-enum: + modelAsString: true + name: CreateMode + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + version: + $ref: '#/definitions/ServerVersion' + description: Server version. + required: + - createMode + ServerPropertiesForDefaultCreate: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server. + properties: + administratorLogin: + description: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + type: string + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + required: + - administratorLogin + - administratorLoginPassword + x-ms-discriminator-value: Default + ServerPropertiesForGeoRestore: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server by restoring to a different region from a geo replicated backup. + properties: + sourceServerId: + description: The source server id to restore from. + type: string + required: + - sourceServerId + x-ms-discriminator-value: GeoRestore + ServerPropertiesForReplica: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties to create a new replica. + properties: + sourceServerId: + description: The master server id to create replica from. + type: string + required: + - sourceServerId + x-ms-discriminator-value: Replica + ServerPropertiesForRestore: + allOf: + - $ref: '#/definitions/ServerPropertiesForCreate' + description: The properties used to create a new server by restoring from a backup. + properties: + restorePointInTime: + description: 'Restore point creation time (ISO8601 format), specifying the time to restore from.' + format: date-time + type: string + sourceServerId: + description: The source server id to restore from. + type: string + required: + - sourceServerId + - restorePointInTime + x-ms-discriminator-value: PointInTimeRestore + ServerSecurityAlertPolicy: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A server security alert policy. + properties: + properties: + $ref: '#/definitions/SecurityAlertPolicyProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + ServerUpdateParameters: + description: Parameters allowed to update for a server. + properties: + properties: + description: The properties that can be updated for a server. + properties: + administratorLoginPassword: + description: The password of the administrator login. + format: password + type: string + replicationRole: + description: The replication role of the server. + type: string + sslEnforcement: + $ref: '#/definitions/SslEnforcement' + description: Enable ssl enforcement or not when connect to server. + storageProfile: + $ref: '#/definitions/StorageProfile' + description: Storage profile of a server. + version: + $ref: '#/definitions/ServerVersion' + description: The version of a server. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/Sku' + description: The SKU (pricing tier) of the server. + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + ServerVersion: + description: The version of a server. + enum: + - '5.6' + - '5.7' + type: string + x-ms-enum: + modelAsString: true + name: ServerVersion + Sku: + description: Billing information related properties of a server. + properties: + capacity: + description: 'The scale up/out capacity, representing server''s compute units.' + format: int32 + minimum: 0 + type: integer + family: + description: The family of hardware. + type: string + name: + description: 'The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.' + type: string + size: + description: 'The size code, to be interpreted by resource as appropriate.' + type: string + tier: + description: 'The tier of the particular SKU, e.g. Basic.' + enum: + - Basic + - GeneralPurpose + - MemoryOptimized + type: string + x-ms-enum: + modelAsString: true + name: SkuTier + SslEnforcement: + description: Enable ssl enforcement or not when connect to server. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: false + name: SslEnforcementEnum + StorageProfile: + description: Storage Profile properties of a server + properties: + backupRetentionDays: + description: Backup retention days for the server. + type: integer + geoRedundantBackup: + description: Enable Geo-redundant or not for server backup. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: GeoRedundantBackup + storageAutogrow: + description: Enable Storage Auto Grow. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: StorageAutogrow + storageMB: + description: Max storage allowed for a server. + format: int32 + type: integer + TopQueryStatisticsInput: + description: Input to get top query statistics + properties: + properties: + $ref: '#/definitions/TopQueryStatisticsInputProperties' + description: The properties of a wait statistics input. + x-ms-client-flatten: true + required: + - properties + TopQueryStatisticsInputProperties: + description: The properties for input to get top query statistics + properties: + aggregationFunction: + description: Aggregation function name. + type: string + aggregationWindow: + description: Aggregation interval type in ISO 8601 format. + type: string + numberOfTopQueries: + description: Max number of top queries to return. + format: int32 + type: integer + observationEndTime: + description: Observation end time. + format: date-time + type: string + observationStartTime: + description: Observation start time. + format: date-time + type: string + observedMetric: + description: Observed metric name. + type: string + required: + - numberOfTopQueries + - aggregationFunction + - observedMetric + - observationStartTime + - observationEndTime + - aggregationWindow + TopQueryStatisticsResultList: + description: A list of query statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of top query statistics. + items: + $ref: '#/definitions/QueryStatistic' + readOnly: true + type: array + type: object + TrackedResource: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Resource properties including location and tags for track resources. + properties: + location: + description: The location the resource resides in. + type: string + tags: + additionalProperties: + type: string + description: Application-specific metadata in the form of key-value pairs. + type: object + required: + - location + VirtualNetworkRule: + allOf: + - $ref: '#/definitions/ProxyResource' + description: A virtual network rule. + properties: + properties: + $ref: '#/definitions/VirtualNetworkRuleProperties' + description: Resource properties. + x-ms-client-flatten: true + type: object + VirtualNetworkRuleListResult: + description: A list of virtual network rules. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: Array of results. + items: + $ref: '#/definitions/VirtualNetworkRule' + readOnly: true + type: array + type: object + VirtualNetworkRuleProperties: + description: Properties of a virtual network rule. + properties: + ignoreMissingVnetServiceEndpoint: + description: Create firewall rule before the virtual network has vnet service endpoint enabled. + type: boolean + state: + description: Virtual Network Rule State + enum: + - Initializing + - InProgress + - Ready + - Deleting + - Unknown + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkRuleState + virtualNetworkSubnetId: + description: The ARM resource id of the virtual network subnet. + type: string + required: + - virtualNetworkSubnetId + type: object + WaitStatistic: + allOf: + - $ref: '#/definitions/ProxyResource' + description: Represents a Wait Statistic. + properties: + properties: + $ref: '#/definitions/WaitStatisticProperties' + description: The properties of a wait statistic. + x-ms-client-flatten: true + WaitStatisticProperties: + description: The properties of a wait statistic. + properties: + count: + description: Wait event count observed in this time interval. + format: int64 + type: integer + databaseName: + description: Database Name. + type: string + endTime: + description: Observation end time. + format: date-time + type: string + eventName: + description: Wait event name. + type: string + eventTypeName: + description: Wait event type name. + type: string + queryId: + description: Database query identifier. + format: int64 + type: integer + startTime: + description: Observation start time. + format: date-time + type: string + totalTimeInMs: + description: Total time of wait in milliseconds in this time interval. + format: double + type: number + userId: + description: Database user identifier. + format: int64 + type: integer + WaitStatisticsInput: + description: Input to get wait statistics + properties: + properties: + $ref: '#/definitions/WaitStatisticsInputProperties' + description: The properties of a wait statistics input. + x-ms-client-flatten: true + required: + - properties + WaitStatisticsInputProperties: + description: The properties for input to get wait statistics + properties: + aggregationWindow: + description: Aggregation interval type in ISO 8601 format. + type: string + observationEndTime: + description: Observation end time. + format: date-time + type: string + observationStartTime: + description: Observation start time. + format: date-time + type: string + required: + - observationStartTime + - observationEndTime + - aggregationWindow + WaitStatisticsResultList: + description: A list of wait statistics. + properties: + nextLink: + description: Link to retrieve next page of results. + readOnly: true + type: string + value: + description: The list of wait statistics. + items: + $ref: '#/definitions/WaitStatistic' + readOnly: true + type: array + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2017-08-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2017-08-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e1226eb7d644b9dc98e9fe6381f585f98f89b18f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2017-08-15/swagger.yaml @@ -0,0 +1,1705 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2017-08-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2017-08-15' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: Lists all NetApp accounts in the resource group + operationId: Accounts_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2017-08-15' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + provisioningState: Created + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete a NetApp account + operationId: Accounts_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: accountName + api-version: '2017-08-15' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: accountName + api-version: '2017-08-15' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Created + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch a NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + put: + description: Create or update a NetApp account + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '201': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: Lists all capacity pools in the NetApp Account + operationId: Pools_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: accountName + api-version: '2017-08-15' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete a capacity pool + operationId: Pools_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get a capacity pool + operationId: Pools_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch a capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '201': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List volumes + operationId: Volumes_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete a volume + operationId: Volumes_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get a volume + operationId: Volumes_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch a volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + usageThreshold: 107374182400 + put: + description: Create or update a volume + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '201': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List mount targets + operationId: MountTargets_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: 1.2.3.4 + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: 255.255.255.0 + provisioningState: Created + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List snapshots + operationId: Snapshots_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + responses: + '200': + description: OK + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get a snapshot + operationId: Snapshots_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: accountName + api-version: '2017-08-15' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + put: + description: Create a snapshot + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/error' + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: accountName + api-version: '2017-08-15' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '201': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dNS: + description: Comma separated list of DNS server IP addresses for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + sMBServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + error: + description: Error response describing why the operation failed. + properties: + code: + description: Error code + example: ErrorCode + type: string + message: + description: Detailed error message + example: Detailed error message + type: string + required: + - code + - message + type: object + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv4: + description: Allows NFSv4 protocol + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + resourceTags: + description: Resource tags + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + creationDate: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + required: + - fileSystemId + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Export policy rule + properties: + rules: + items: + $ref: '#/definitions/exportPolicyRule' + type: array + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + exportPolicy: + description: Export policy rule + properties: + rules: + items: + $ref: '#/definitions/exportPolicyRule' + type: array + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + required: + - creationToken + - serviceLevel + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-05-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-05-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7e1e05edaf7627705646a18202600e2e33217cc5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-05-01/swagger.yaml @@ -0,0 +1,1841 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-05-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-05-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + post: + description: Check if a file path is available. + operationId: CheckFilePathAvailability + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-05-01' + body: + name: my-exact-filepth + resourceGroup: myrg + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + post: + description: Check if a resource name is available. + operationId: CheckNameAvailability + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-05-01' + body: + name: accName + resourceGroup: myrg + type: netAppAccount + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group + operationId: Accounts_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-05-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + provisioningState: Created + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: accountName + api-version: '2019-05-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: accountName + api-version: '2019-05-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Created + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: {} + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: + location: eastus + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '201': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: accountName + api-version: '2019-05-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '201': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + responses: + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '201': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List all mount targets associated with the volume + operationId: MountTargets_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + summary: Describe all mount targets + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: 1.2.3.4 + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: 255.255.255.0 + provisioningState: Created + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + x-ms-pageable: + nextLinkName: null + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + responses: + '200': + description: OK + '202': + description: Accepted -- Create or update request accepted; operation will complete asynchronously + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: accountName + api-version: '2019-05-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: accountName + api-version: '2019-05-01' + body: + location: eastus + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '201': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv4: + description: 'Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later' + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + resourceTags: + description: Resource tags + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + creationDate: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + protocolTypes: + description: Set of protocol types + example: '[''NFSv3'', ''NFSv4'']' + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + required: + - creationToken + - usageThreshold + - subnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..162ef87d075175353645062ac31656f6f44d8c07 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-06-01/swagger.yaml @@ -0,0 +1,1924 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-06-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + post: + description: Check if a file path is available. + operationId: CheckFilePathAvailability + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-06-01' + body: + name: my-exact-filepth + resourceGroup: myrg + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + post: + description: Check if a resource name is available. + operationId: CheckNameAvailability + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-06-01' + body: + name: accName + resourceGroup: myrg + type: netAppAccount + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group + operationId: Accounts_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-06-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + provisioningState: Created + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: accountName + api-version: '2019-06-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: accountName + api-version: '2019-06-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Created + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: {} + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: + location: eastus + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '201': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: accountName + api-version: '2019-06-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '201': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '201': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List all mount targets associated with the volume + operationId: MountTargets_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + summary: Describe all mount targets + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: 1.2.3.4 + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: 255.255.255.0 + provisioningState: Created + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: accountName + api-version: '2019-06-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Update request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: accountName + api-version: '2019-06-01' + body: + location: eastus + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '201': + body: + location: eastus + properties: + creationDate: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv4: + description: 'Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later' + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + resourceTags: + description: Resource tags + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + creationDate: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + protocolTypes: + description: Set of protocol types + example: + - NFSv3 + - NFSv4 + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 or resource identifier used to identify the Snapshot. + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + required: + - creationToken + - usageThreshold + - subnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a8f0e61cc5202a79e0d813a460df573b12968e55 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-07-01/swagger.yaml @@ -0,0 +1,1923 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-07-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + post: + description: Check if a file path is available. + operationId: CheckFilePathAvailability + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-07-01' + body: + name: my-exact-filepth + resourceGroup: myrg + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + post: + description: Check if a resource name is available. + operationId: CheckNameAvailability + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-07-01' + body: + name: accName + resourceGroup: myrg + type: netAppAccount + location: eastus + subscriptionId: subscriptionId + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group + operationId: Accounts_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-07-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + provisioningState: Created + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: accountName + api-version: '2019-07-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: accountName + api-version: '2019-07-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Created + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: {} + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: + location: eastus + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + provisioningState: Succeeded + '201': + body: + location: eastus + properties: + provisioningState: Succeeded + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: accountName + api-version: '2019-07-01' + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '201': + body: + location: eastus + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + size: 4398046511104 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + responses: + '200': + body: + value: + - location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '201': + body: + location: eastus + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Created + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List all mount targets associated with the volume + operationId: MountTargets_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + summary: Describe all mount targets + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: 1.2.3.4 + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: 255.255.255.0 + provisioningState: Created + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + value: + - location: eastus + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: accountName + api-version: '2019-07-01' + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Update request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: {} + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '200': + body: + location: eastus + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: accountName + api-version: '2019-07-01' + body: + location: eastus + poolName: poolName + resourceGroupName: resourceGroup + snapshotName: snapshotName + subscriptionId: subscriptionId + volumeName: volumeName + responses: + '201': + body: + location: eastus + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Created + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv41: + description: Allows NFSv4.1 protocol + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + resourceTags: + description: Resource tags + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + created: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + protocolTypes: + description: Set of protocol types + example: + - NFSv4.1 + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 or resource identifier used to identify the Snapshot. + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + required: + - creationToken + - usageThreshold + - subnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9bf7848eaef3168f7e8d47af6c4ec51df715a718 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-08-01/swagger.yaml @@ -0,0 +1,2030 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-08-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + post: + description: Check if a file path is available. + operationId: NetAppResource_CheckFilePathAvailability + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-08-01' + body: + name: my-exact-filepth + resourceGroup: myRG + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + post: + description: Check if a resource name is available. + operationId: NetAppResource_CheckNameAvailability + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-08-01' + body: + name: accName + resourceGroup: myRG + type: netAppAccount + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group. + operationId: Accounts_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-08-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: account1 + api-version: '2019-08-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: account1 + api-version: '2019-08-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: + location: eastus + properties: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: account1 + api-version: '2019-08-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List all mount targets associated with the volume + operationId: MountTargets_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + summary: Describe all mount targets + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/mountTargets/target1 + location: eastus + name: account1/pool1/volume1/target1 + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: '' + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: '' + provisioningState: Succeeded + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: account1 + api-version: '2019-08-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Update request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: account1 + api-version: '2019-08-01' + body: + location: eastus + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv41: + description: Allows NFSv4.1 protocol + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + replicationObject: + description: Replication properties + properties: + endpointType: + description: Indicates whether the local volume is the source or destination for the Volume Replication + example: 'src, dst' + title: endpointType + type: string + remoteVolumeResourceId: + description: The resource ID of the remote volume. + title: remoteVolumeResourceId + type: string + replicationId: + description: Id + title: replicationId + type: string + replicationSchedule: + description: Schedule + example: '10minutely, hourly, daily, weekly, monthly' + title: replicationSchedule + type: string + required: + - endpointType + - remoteVolumeResourceId + - replicationSchedule + type: object + resourceTags: + additionalProperties: + type: string + description: Tags are a list of key-value pairs that describe the resource + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + created: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + dataProtection: + description: 'DataProtection volume, can have a replication object' + properties: + replication: + $ref: '#/definitions/replicationObject' + description: Replication properties + title: Replication + type: object + title: DataProtection + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + type: array + protocolTypes: + description: Set of protocol types + example: + - NFSv4.1 + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 or resource identifier used to identify the Snapshot. + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + volumeType: + description: What type of volume is this + example: DataProtection + type: string + required: + - creationToken + - usageThreshold + - subnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f16ddc70cc2e26bf05aea51b96a1aab0abe80dd2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-10-01/swagger.yaml @@ -0,0 +1,2264 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-10-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + name: poolName + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + name: volumeName + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + post: + description: Check if a file path is available. + operationId: NetAppResource_CheckFilePathAvailability + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + tags: + - NetApp Resource + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-10-01' + body: + name: my-exact-filepth + resourceGroup: myRG + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + post: + description: Check if a resource name is available. + operationId: NetAppResource_CheckNameAvailability + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + tags: + - NetApp Resource + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-10-01' + body: + name: accName + resourceGroup: myRG + type: netAppAccount + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group. + operationId: Accounts_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-10-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: account1 + api-version: '2019-10-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: account1 + api-version: '2019-10-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: account1 + api-version: '2019-10-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication': + post: + description: Authorize the replication connection on the source volume + operationId: Volumes_AuthorizeReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + - description: authorize request object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/authorizeRequest' + responses: + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Authorize source volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_AuthorizeReplication: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication': + post: + description: Break the replication connection on the destination volume + operationId: Volumes_BreakReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Break volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_BreakReplication: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication': + post: + description: 'Delete the replication connection on the destination volume, and send release to the source replication' + operationId: Volumes_DeleteReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Delete volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_DeleteReplication: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets': + get: + description: List all mount targets associated with the volume + operationId: MountTargets_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/mountTargetList' + default: + description: Error response describing why the operation failed. + summary: Describe all mount targets + tags: + - MountTargets + x-ms-examples: + MountTargets_List: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/mountTargets/target1 + location: eastus + name: account1/pool1/volume1/target1 + properties: + endIp: 1.2.3.4 + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + gateway: '' + ipAddress: 1.2.3.4 + mountTargetId: 9760acf5-4638-11e7-9bdb-020073ca3333 + netmask: '' + provisioningState: Succeeded + smbServerFqdn: fullyqualified.domainname.com + startIp: 1.2.3.4 + subnet: 1.2.3.4 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus': + get: + description: Get the status of the replication + operationId: Volumes_ReplicationStatus + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/replicationStatus' + default: + description: Error response describing why the operation failed. + summary: Get volume replication status + tags: + - Volumes Replication + x-ms-examples: + Volumes_ReplicationStatus: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + errorMessage: '' + healthy: true + mirrorState: Mirrored + relationshipStatus: Idle + totalProgress: '1048576' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication': + post: + description: Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination. + operationId: Volumes_ResyncReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Resync volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_ResyncReplication: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: account1 + api-version: '2019-10-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Update request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: account1 + api-version: '2019-10-01' + body: + location: eastus + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + authorizeRequest: + description: Authorize request + properties: + remoteVolumeResourceId: + description: Resource id + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv41: + description: Allows NFSv4.1 protocol + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + endIp: + description: The end of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: endIp + type: string + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + gateway: + description: The gateway of the IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: gateway + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + netmask: + description: The netmask of the IPv4 address range to use when creating a new mount target + example: 255.255.255.0 + title: netmask + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + startIp: + description: The start of IPv4 address range to use when creating a new mount target + example: 1.2.3.4 + title: startIp + type: string + subnet: + description: The subnet + example: 1.2.3.4 + title: subnet + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + replicationObject: + description: Replication properties + properties: + endpointType: + description: Indicates whether the local volume is the source or destination for the Volume Replication + enum: + - src + - dst + type: string + x-ms-enum: + modelAsString: true + name: EndpointType + remoteVolumeRegion: + description: The remote region for the other end of the Volume Replication. + type: string + remoteVolumeResourceId: + description: The resource ID of the remote volume. + type: string + replicationId: + description: Id + type: string + replicationSchedule: + description: Schedule + enum: + - _10minutely + - hourly + - daily + - weekly + - monthly + type: string + x-ms-enum: + modelAsString: true + name: ReplicationSchedule + required: + - replicationSchedule + - remoteVolumeResourceId + type: object + replicationStatus: + description: Replication status + properties: + errorMessage: + description: Displays error message if the replication is in an error state + type: string + healthy: + description: Replication health check + type: boolean + mirrorState: + description: The status of the replication + enum: + - Uninitialized + - Mirrored + - Broken + type: string + x-ms-enum: + modelAsString: true + name: MirrorState + relationshipStatus: + description: Status of the mirror relationship + enum: + - Idle + - Transferring + type: string + x-ms-enum: + modelAsString: true + name: RelationshipStatus + totalProgress: + description: The progress of the replication + type: string + type: object + resourceTags: + additionalProperties: + type: string + description: Tags are a list of key-value pairs that describe the resource + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + created: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maximum: 40 + minimum: 16 + title: Creation Token or File Path + type: string + dataProtection: + description: DataProtection type volumes include an object containing details of the replication + properties: + replication: + $ref: '#/definitions/replicationObject' + description: Replication properties + title: Replication + type: object + title: DataProtection + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + isRestoring: + description: Restoring + type: boolean + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + type: array + protocolTypes: + description: Set of protocol types + example: + - NFSv4.1 + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 or resource identifier used to identify the Snapshot. + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + volumeType: + description: What type of volume is this + example: DataProtection + type: string + required: + - creationToken + - usageThreshold + - subnetId + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a61fe6aca40fa8c51204af40e75d356888d553f5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/netapp/2019-11-01/swagger.yaml @@ -0,0 +1,2254 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: Microsoft NetApp Azure Resource Provider specification + title: Microsoft NetApp + version: '2019-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-ms-code-generation-settings: + name: AzureNetAppFilesManagementClient + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-11-01/netapp.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: netapp + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + AccountName: + description: The name of the NetApp account + in: path + name: accountName + required: true + type: string + x-ms-parameter-location: method + ApiVersionParameter: + default: '2019-11-01' + description: Version of the API to be used with the client request. + in: query + name: api-version + required: true + type: string + MountTargetName: + description: The name of the mount target + in: path + name: mountTargetName + required: true + type: string + x-ms-parameter-location: method + PoolName: + description: The name of the capacity pool + in: path + maxLength: 64 + minLength: 1 + name: poolName + pattern: '^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$' + required: true + type: string + x-ms-parameter-location: method + ResourceGroup: + description: The name of the resource group. + in: path + maxLength: 90 + minLength: 1 + name: resourceGroupName + pattern: '^[-\w\._\(\)]+$' + required: true + type: string + x-ms-parameter-location: method + SnapshotName: + description: The name of the mount target + in: path + name: snapshotName + required: true + type: string + x-ms-parameter-location: method + SubscriptionId: + description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + VolumeName: + description: The name of the volume + in: path + maxLength: 64 + minLength: 1 + name: volumeName + pattern: '^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$' + required: true + type: string + x-ms-parameter-location: method + location: + description: The location + in: path + name: location + required: true + type: string + x-ms-parameter-location: method +paths: + /providers/Microsoft.NetApp/operations: + get: + description: Lists all of the available Microsoft.NetApp Rest API operations + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/OperationListResult' + default: + description: Error response describing why the operation failed. + summary: Describes the Resource Provider + tags: + - Operations + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability': + post: + description: Check if a file path is available. + operationId: NetAppResource_CheckFilePathAvailability + parameters: + - description: File path availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check file path availability + tags: + - NetApp Resource + x-ms-examples: + CheckFilePathAvailability: + parameters: + api-version: '2019-11-01' + body: + name: my-exact-filepth + resourceGroup: myRG + type: netAppAccount/capacityPools/volume + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability': + post: + description: Check if a resource name is available. + operationId: NetAppResource_CheckNameAvailability + parameters: + - description: Name availability request. + in: body + name: body + required: true + schema: + $ref: '#/definitions/ResourceNameAvailabilityRequest' + x-ms-client-flatten: true + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/location' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/ResourceNameAvailability' + default: + description: Error response describing why the operation failed. + summary: Check resource name availability + tags: + - NetApp Resource + x-ms-examples: + CheckNameAvailability: + parameters: + api-version: '2019-11-01' + body: + name: accName + resourceGroup: myRG + type: netAppAccount + location: eastus + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + isAvailable: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts': + get: + description: List and describe all NetApp accounts in the resource group. + operationId: Accounts_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccountList' + default: + description: Error response describing why the operation failed. + summary: Describe all NetApp Accounts in a resource group + tags: + - NetApp Accounts + x-ms-examples: + Accounts_List: + parameters: + api-version: '2019-11-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}': + delete: + description: Delete the specified NetApp account + operationId: Accounts_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Delete: + parameters: + accountName: account1 + api-version: '2019-11-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the NetApp account + operationId: Accounts_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/netAppAccount' + default: + description: Error response describing why the operation failed. + summary: Describe a NetApp Account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Get: + parameters: + accountName: account1 + api-version: '2019-11-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + patch: + description: Patch the specified NetApp account + operationId: Accounts_Update + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccountPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_Update: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + put: + description: Create or update the specified NetApp account within the resource group + operationId: Accounts_CreateOrUpdate + parameters: + - description: NetApp Account object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/netAppAccount' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - account updated + schema: + $ref: '#/definitions/netAppAccount' + '201': + description: Account created + schema: + $ref: '#/definitions/netAppAccount' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or update a NetApp account + tags: + - NetApp Accounts + x-ms-examples: + Accounts_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: {} + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1 + location: eastus + name: account1 + properties: + provisioningState: Succeeded + type: Microsoft.NetApp/netAppAccounts + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools': + get: + description: List all capacity pools in the NetApp Account + operationId: Pools_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPoolList' + default: + description: Error response describing why the operation failed. + summary: Describe all Capacity Pools + tags: + - Capacity Pools + x-ms-examples: + Pools_List: + parameters: + accountName: account1 + api-version: '2019-11-01' + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}': + delete: + description: Delete the specified capacity pool + operationId: Pools_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Delete: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified capacity pool + operationId: Pools_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + default: + description: Error response describing why the operation failed. + summary: Describe a Capacity Pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Get: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + patch: + description: Patch the specified capacity pool + operationId: Pools_Update + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPoolPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a capacity pool + tags: + - Capacity Pools + x-ms-examples: + Pools_Update: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + x-ms-long-running-operation: true + put: + description: Create or Update a capacity pool + operationId: Pools_CreateOrUpdate + parameters: + - description: Capacity pool object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/capacityPool' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - pool updated + schema: + $ref: '#/definitions/capacityPool' + '201': + description: Pool created + schema: + $ref: '#/definitions/capacityPool' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Create or Update the specified capacity pool within the resource group + tags: + - Capacity Pools + x-ms-examples: + Pools_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: + serviceLevel: Premium + size: 4398046511104 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 + location: eastus + name: account1/pool1 + properties: + poolId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + size: 4398046511104 + type: Microsoft.NetApp/netAppAccounts/capacityPools + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes': + get: + description: List all volumes within the capacity pool + operationId: Volumes_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volumeList' + default: + description: Error response describing why the operation failed. + summary: Describe all volumes + tags: + - Volumes + x-ms-examples: + Volumes_List: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}': + delete: + description: Delete the specified volume + operationId: Volumes_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a volume + tags: + - Volumes + x-ms-examples: + Volumes_Delete: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the details of the specified volume + operationId: Volumes_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + default: + description: Error response describing why the operation failed. + summary: Describe a volume + tags: + - Volumes + x-ms-examples: + Volumes_Get: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + patch: + description: Patch the specified volume + operationId: Volumes_Update + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumePatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/volume' + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + default: + description: Error response describing why the operation failed. + summary: Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_Update: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + x-ms-long-running-operation: true + put: + description: Create or update the specified volume within the capacity pool + operationId: Volumes_CreateOrUpdate + parameters: + - description: Volume object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volume' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: Ok - volume updated + schema: + $ref: '#/definitions/volume' + '201': + description: Volume created + schema: + $ref: '#/definitions/volume' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create or Update a volume + tags: + - Volumes + x-ms-examples: + Volumes_CreateOrUpdate: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: + creationToken: my-unique-file-path + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1 + location: eastus + name: account1/pool1/volume1 + properties: + creationToken: some-amazing-filepath + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca7778 + provisioningState: Succeeded + serviceLevel: Premium + subnetId: /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 + usageThreshold: 107374182400 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication': + post: + description: Authorize the replication connection on the source volume + operationId: Volumes_AuthorizeReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + - description: Authorize request object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/authorizeRequest' + responses: + '200': + description: OK - terminal state + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Authorize source volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_AuthorizeReplication: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + remoteVolumeResourceId: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication': + post: + description: Break the replication connection on the destination volume + operationId: Volumes_BreakReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - terminal state + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Break volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_BreakReplication: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication': + post: + description: 'Delete the replication connection on the destination volume, and send release to the source replication' + operationId: Volumes_DeleteReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - terminal state + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Delete volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_DeleteReplication: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus': + get: + description: Get the status of the replication + operationId: Volumes_ReplicationStatus + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/replicationStatus' + default: + description: Error response describing why the operation failed. + summary: Get volume replication status + tags: + - Volumes Replication + x-ms-examples: + Volumes_ReplicationStatus: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + errorMessage: '' + healthy: true + mirrorState: Mirrored + relationshipStatus: Idle + totalProgress: '1048576' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication': + post: + description: Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination. + operationId: Volumes_ResyncReplication + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK - terminal state + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Resync volume replication + tags: + - Volumes Replication + x-ms-examples: + Volumes_ResyncReplication: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + properties: {} + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert': + post: + description: Revert a volume to the snapshot specified in the body + operationId: Volumes_Revert + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + - description: Object for snapshot to revert supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/volumeRevert' + responses: + '200': + description: OK - terminal state + '202': + description: Accepted + default: + description: Error response describing why the operation failed. + summary: Revert a volume to one of its snapshots + tags: + - Volumes Revert + x-ms-examples: + Volumes_Revert: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + snapshotId: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots': + get: + description: List all snapshots associated with the volume + operationId: Snapshots_List + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshotsList' + default: + description: Error response describing why the operation failed. + summary: Describe all snapshots + tags: + - Snapshots + x-ms-examples: + Snapshots_List: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + value: + - id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}': + delete: + description: Delete snapshot + operationId: Snapshots_Delete + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + '202': + description: 'Accepted -- Create, update or delete request accepted; operation will complete asynchronously' + '204': + description: NoContent -- Resource does not exist. + default: + description: Error response describing why the operation failed. + summary: Delete a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Delete: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get details of the specified snapshot + operationId: Snapshots_Get + parameters: + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + default: + description: Error response describing why the operation failed. + summary: Describe a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Get: + parameters: + accountName: account1 + api-version: '2019-11-01' + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + patch: + description: Patch a snapshot + operationId: Snapshots_Update + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshotPatch' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Update request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Update a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Update: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: {} + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '200': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + x-ms-long-running-operation: true + put: + description: Create the specified snapshot within the given volume + operationId: Snapshots_Create + parameters: + - description: Snapshot object supplied in the body of the operation. + in: body + name: body + required: true + schema: + $ref: '#/definitions/snapshot' + - $ref: '#/parameters/SubscriptionId' + - $ref: '#/parameters/ResourceGroup' + - $ref: '#/parameters/AccountName' + - $ref: '#/parameters/PoolName' + - $ref: '#/parameters/VolumeName' + - $ref: '#/parameters/SnapshotName' + - $ref: '#/parameters/ApiVersionParameter' + responses: + '201': + description: Snapshot created + schema: + $ref: '#/definitions/snapshot' + '202': + description: Accepted -- Create request accepted; operation will complete asynchronously + default: + description: Error response describing why the operation failed. + summary: Create a snapshot + tags: + - Snapshots + x-ms-examples: + Snapshots_Create: + parameters: + accountName: account1 + api-version: '2019-11-01' + body: + location: eastus + poolName: pool1 + resourceGroupName: myRG + snapshotName: snapshot1 + subscriptionId: D633CC2E-722B-4AE1-B636-BBD9E4C60ED9 + volumeName: volume1 + responses: + '201': + body: + id: /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1 + location: eastus + name: account1/pool1/volume1/snapshot1 + properties: + created: '2017-08-15T13:23:33Z' + fileSystemId: 9760acf5-4638-11e7-9bdb-020073ca3333 + provisioningState: Succeeded + snapshotId: 9760acf5-4638-11e7-9bdb-020073ca3333 + type: Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + '202': {} + x-ms-long-running-operation: true +definitions: + Dimension: + description: 'Dimension of blobs, possibly be blob type or access tier.' + properties: + displayName: + description: Display name of dimension. + type: string + name: + description: Display name of dimension. + type: string + MetricSpecification: + description: Metric specification of operation. + properties: + aggregationType: + description: Aggregation type could be Average. + type: string + category: + description: 'The category this metric specification belong to, could be Capacity.' + type: string + dimensions: + description: 'Dimensions of blobs, including blob type and access tier.' + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: Display description of metric specification. + type: string + displayName: + description: Display name of metric specification. + type: string + fillGapWithZero: + description: The property to decide fill gap with zero or not. + type: boolean + name: + description: Name of metric specification. + type: string + resourceIdDimensionNameOverride: + description: Account Resource Id. + type: string + unit: + description: Unit could be Bytes or Count. + type: string + Operation: + description: Microsoft.NetApp REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Operation description. + type: string + operation: + description: 'Type of operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft NetApp.' + type: string + resource: + description: Resource on which the operation is performed etc. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: The origin of operations. + type: string + properties: + $ref: '#/definitions/OperationProperties' + description: 'Properties of operation, include metric specifications.' + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results. + properties: + value: + description: List of Storage operations supported by the Storage resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationProperties: + description: 'Properties of operation, include metric specifications.' + properties: + serviceSpecification: + $ref: '#/definitions/ServiceSpecification' + description: 'One property of operation, include metric specifications.' + ResourceNameAvailability: + description: Information regarding availability of a resource name. + properties: + isAvailable: + description: 'true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.' + type: boolean + message: + description: 'If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.' + type: string + reason: + description: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + enum: + - Invalid + - AlreadyExists + type: string + x-ms-enum: + modelAsString: true + name: InAvailabilityReasonType + type: object + ResourceNameAvailabilityRequest: + description: Resource name availability request content. + properties: + name: + description: Resource name to verify. + type: string + resourceGroup: + description: Resource group name. + type: string + type: + description: Resource type used for verification. + enum: + - Microsoft.NetApp/netAppAccounts + - Microsoft.NetApp/netAppAccounts/capacityPools + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes + - Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + type: string + x-ms-enum: + modelAsString: true + name: CheckNameResourceTypes + required: + - name + - type + - resourceGroup + type: object + ServiceSpecification: + description: 'One property of operation, include metric specifications.' + properties: + metricSpecifications: + description: Metric specifications of operation. + items: + $ref: '#/definitions/MetricSpecification' + type: array + accountProperties: + description: NetApp account properties + properties: + activeDirectories: + description: Active Directories + items: + $ref: '#/definitions/activeDirectory' + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + type: object + activeDirectory: + description: Active Directory + properties: + activeDirectoryId: + description: Id of the Active Directory + type: string + dns: + description: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + type: string + domain: + description: Name of the Active Directory domain + type: string + organizationalUnit: + description: The Organizational Unit (OU) within the Windows Active Directory + type: string + password: + description: Plain text password of Active Directory domain administrator + type: string + site: + description: The Active Directory site the service will limit Domain Controller discovery to + type: string + smbServerName: + description: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + type: string + status: + description: Status of the Active Directory + type: string + username: + description: Username of Active Directory domain administrator + type: string + type: object + authorizeRequest: + description: Authorize request + properties: + remoteVolumeResourceId: + description: Resource id of the remote volume + type: string + type: object + capacityPool: + description: Capacity pool resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + capacityPoolList: + description: List of capacity pool resources + properties: + value: + description: List of Capacity pools + items: + $ref: '#/definitions/capacityPool' + type: array + type: object + capacityPoolPatch: + description: Capacity pool patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/poolPatchProperties' + description: Capacity pool properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + exportPolicyRule: + description: Volume Export Policy Rule + properties: + allowedClients: + description: 'Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names' + type: string + cifs: + description: Allows CIFS protocol + type: boolean + nfsv3: + description: Allows NFSv3 protocol + type: boolean + nfsv41: + description: Allows NFSv4.1 protocol + type: boolean + ruleIndex: + description: Order index + type: integer + unixReadOnly: + description: Read only access + type: boolean + unixReadWrite: + description: Read and write access + type: boolean + type: object + mountTarget: + description: Mount Target + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/mountTargetProperties' + description: Mount Target Properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + mountTargetList: + description: List of Mount Targets + properties: + value: + description: A list of Mount targets + items: + $ref: '#/definitions/mountTarget' + type: array + type: object + mountTargetProperties: + description: Mount target properties + properties: + fileSystemId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + ipAddress: + description: The mount target's IPv4 address + example: 1.2.3.4 + readOnly: true + title: ipAddress + type: string + mountTargetId: + description: UUID v4 used to identify the MountTarget + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: mountTargetId + type: string + smbServerFqdn: + description: 'The SMB server''s Fully Qualified Domain Name, FQDN' + example: fullyqualified.domainname.com + title: smbServerFQDN + type: string + required: + - fileSystemId + type: object + netAppAccount: + description: NetApp account resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + netAppAccountList: + description: List of NetApp account resources + properties: + value: + description: Multiple NetApp accounts + items: + $ref: '#/definitions/netAppAccount' + type: array + type: object + netAppAccountPatch: + description: NetApp account patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/accountProperties' + description: NetApp Account properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + poolPatchProperties: + description: Patchable pool properties + properties: + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + default: 4398046511104 + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + type: object + poolProperties: + description: Pool properties + properties: + poolId: + description: UUID v4 used to identify the Pool + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: poolId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + size: + description: Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). + format: int64 + maximum: 549755813888000 + minimum: 4398046511104 + title: size + type: integer + required: + - size + - serviceLevel + type: object + replicationObject: + description: Replication properties + properties: + endpointType: + description: Indicates whether the local volume is the source or destination for the Volume Replication + enum: + - src + - dst + type: string + x-ms-enum: + modelAsString: true + name: EndpointType + remoteVolumeRegion: + description: The remote region for the other end of the Volume Replication. + type: string + remoteVolumeResourceId: + description: The resource ID of the remote volume. + type: string + replicationId: + description: Id + type: string + replicationSchedule: + description: Schedule + enum: + - _10minutely + - hourly + - daily + - weekly + - monthly + type: string + x-ms-enum: + modelAsString: true + name: ReplicationSchedule + required: + - replicationSchedule + - remoteVolumeResourceId + type: object + replicationStatus: + description: Replication status + properties: + errorMessage: + description: Displays error message if the replication is in an error state + type: string + healthy: + description: Replication health check + type: boolean + mirrorState: + description: The status of the replication + enum: + - Uninitialized + - Mirrored + - Broken + type: string + x-ms-enum: + modelAsString: true + name: MirrorState + relationshipStatus: + description: Status of the mirror relationship + enum: + - Idle + - Transferring + type: string + x-ms-enum: + modelAsString: true + name: RelationshipStatus + totalProgress: + description: The progress of the replication + type: string + type: object + resourceTags: + additionalProperties: + type: string + description: Tags are a list of key-value pairs that describe the resource + type: object + snapshot: + description: Snapshot of a Volume + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/snapshotProperties' + description: Snapshot Properties + x-ms-client-flatten: true + type: + description: Resource type + readOnly: true + type: string + required: + - location + type: object + x-ms-azure-resource: true + snapshotPatch: + description: Snapshot patch + properties: {} + type: object + x-ms-azure-resource: true + snapshotProperties: + description: Snapshot properties + properties: + created: + description: The creation date of the snapshot + example: '2017-08-15 13:23:33' + format: date-time + readOnly: true + title: name + type: string + fileSystemId: + description: UUID v4 used to identify the FileSystem + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + title: fileSystemId + type: string + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + snapshotId: + description: UUID v4 used to identify the Snapshot + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: snapshotId + type: string + type: object + snapshotsList: + description: List of Snapshots + properties: + value: + description: A list of Snapshots + items: + $ref: '#/definitions/snapshot' + type: array + type: object + volume: + description: Volume resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + x-ms-mutability: + - read + - create + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumeProperties' + description: Volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + required: + - location + - properties + type: object + x-ms-azure-resource: true + volumeList: + description: List of volume resources + properties: + value: + description: List of volumes + items: + $ref: '#/definitions/volume' + type: array + type: object + volumePatch: + description: Volume patch resource + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + properties: + $ref: '#/definitions/volumePatchProperties' + description: Patchable volume properties + x-ms-client-flatten: true + tags: + $ref: '#/definitions/resourceTags' + description: Resource tags + type: + description: Resource type + readOnly: true + type: string + type: object + x-ms-azure-resource: true + volumePatchProperties: + description: Patchable volume properties + properties: + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + type: object + volumeProperties: + description: Volume properties + properties: + baremetalTenantId: + description: Unique Baremetal Tenant Identifier. + example: 9560acf5-4e3a-12e7-9bdb-02007cca7779 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: Baremetal Tenant ID + type: string + creationToken: + description: A unique file path for the volume. Used when creating mount targets + example: some-amazing-filepath + maxLength: 80 + minLength: 1 + pattern: '^[a-zA-Z][a-zA-Z0-9\-]{0,79}$' + title: Creation Token or File Path + type: string + dataProtection: + description: DataProtection type volumes include an object containing details of the replication + properties: + replication: + $ref: '#/definitions/replicationObject' + description: Replication properties + title: Replication + type: object + title: DataProtection + exportPolicy: + description: Set of export policy rules + properties: + rules: + description: Export policy rule + items: + $ref: '#/definitions/exportPolicyRule' + title: Export policy rule + type: array + title: exportPolicy + fileSystemId: + description: Unique FileSystem Identifier. + example: 9760acf5-4638-11e7-9bdb-020073ca7778 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' + readOnly: true + title: FileSystem ID + type: string + isRestoring: + description: Restoring + type: boolean + mountTargets: + description: List of mount targets + items: + $ref: '#/definitions/mountTargetList' + title: mountTargets + protocolTypes: + description: Set of protocol types + example: + - NFSv4.1 + items: + type: string + title: protocolTypes + type: array + provisioningState: + description: Azure lifecycle management + readOnly: true + type: string + serviceLevel: + default: Premium + description: The service level of the file system + enum: + - Standard + - Premium + - Ultra + example: Ultra + title: serviceLevel + type: string + x-ms-enum: + modelAsString: true + name: ServiceLevel + values: + - description: Standard service level + value: Standard + - description: Premium service level + value: Premium + - description: Ultra service level + value: Ultra + snapshotId: + description: UUID v4 or resource identifier used to identify the Snapshot. + example: 9760acf5-4638-11e7-9bdb-020073ca3333 + maxLength: 36 + minLength: 36 + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$' + title: Snapshot ID + type: string + subnetId: + description: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + type: string + usageThreshold: + default: 107374182400 + description: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + example: 107374182400 + format: int64 + maximum: 109951162777600 + minimum: 107374182400 + title: usageThreshold + type: integer + volumeType: + description: What type of volume is this + example: DataProtection + type: string + required: + - creationToken + - usageThreshold + - subnetId + type: object + volumeRevert: + description: revert a volume to the snapshot + properties: + snapshotId: + description: Resource id of the snapshot + type: string + type: object diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ee5bf16819ae214a372276a3e240c371f36a26e2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2015-06-15/swagger.yaml @@ -0,0 +1,1563 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2015-06-15 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of IP configuration. + properties: + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/publicIPA\ + ddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/subnet" + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Gets outbound rules that use this backend address pool. + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/pr\ + operties/properties/loadBalancerBackendAddressPoo\ + ls/items/properties/properties/properties/backend\ + IPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the + protocol is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the + reverse FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/prop\ + erties/properties/subnet/properties/properties/prop\ + erties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/publicIPAddre\ + ss" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + description: The reference of the subnet resource. + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet/proper\ + ties/properties/properties/networkSecurit\ + yGroup/properties/properties/properties/s\ + ecurityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/publi\ + cIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union + of all DNS servers from all + NICs that are part of the + Availability Set. This + property is what is configured + on each of those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers + collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same + virtual network. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual + network. + type: string + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfiguratio\ + ns/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerBac\ + kendAddressPools/item\ + s" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerInb\ + oundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + publicIPAddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + subnet" + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/properties/properties/properti\ + es/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/allOf/0" + description: The reference of a virtual machine. + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or source IP range. Asterisk + '*' can also be used to match all + source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be + used to match all ports. + type: string + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. + The lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: + 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + type: array + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + cookieBasedAffinity: + description: "Cookie based affinity. Possible values are: 'Enabled' and 'Disabled'." + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the backend http settings + resource Updating/Deleting/Failed + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: "PrivateIP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Gets or sets subnets of application gateway resource + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: "Operational state of the application gateway resource. Possible + values are: 'Stopped', 'Started', 'Running', and 'Stopping'." + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ruleType: + description: "Rule type. Possible values are: 'Basic' and 'PathBasedRouting'." + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + ApplicationGatewaySku: + description: SKU of application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: "Name of an application gateway SKU. Possible values are: + 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', + and 'WAF_Large'." + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListener/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..521685b894dbf34746bfa2855d4898eeed0a0cd4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-09-01/swagger.yaml @@ -0,0 +1,1917 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2016-09-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/appli\ + cationGatewayBackendAddressPools/item\ + s" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/publicIPA\ + ddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/subnet" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/applicationGatewayBackend\ + AddressPools/items/properties/properties/proper\ + ties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/pr\ + operties/properties/applicationGatewayBackendAddr\ + essPools/items/properties/properties/properties/b\ + ackendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the + protocol is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the + reverse FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/prop\ + erties/properties/subnet/properties/properties/prop\ + erties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/publicIPAddre\ + ss" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet/proper\ + ties/properties/properties/networkSecurit\ + yGroup/properties/properties/properties/s\ + ecurityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/publi\ + cIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union + of all DNS servers from all + NICs that are part of the + Availability Set. This + property is what is configured + on each of those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers + collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same + virtual network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating + the VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual + network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfiguratio\ + ns/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/applicationGate\ + wayBackendAddressPool\ + s/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerBac\ + kendAddressPools/item\ + s" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerInb\ + oundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 + or IPv6. Default is + taken as IPv4. Possible + values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + publicIPAddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + subnet" + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/properties/properties/properti\ + es/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or source IP range. Asterisk + '*' can also be used to match all + source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be + used to match all ports. + type: string + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. + The lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: + 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: "Health of backend server. Possible values are: 'Unknown', 'Up', + 'Down', and 'Partial'." + enum: + - Unknown + - Up + - Down + - Partial + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + type: array + cookieBasedAffinity: + description: "Cookie based affinity. Possible values are: 'Enabled' and 'Disabled'." + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: "PrivateIP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + frontendPort: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: "Operational state of the application gateway resource. Possible + values are: 'Stopped', 'Started', 'Running', and 'Stopping'." + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + httpListener: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ruleType: + description: "Rule type. Possible values are: 'Basic' and 'PathBasedRouting'." + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: "Name of an application gateway SKU. Possible values are: + 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', + and 'WAF_Large'." + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: "Tier of an application gateway. Possible values are: 'Standard' + and 'WAF'." + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application gateway SSL policy. + properties: + disabledSslProtocols: + description: "SSL protocols to be disabled on application gateway. Possible + values are: 'TLSv1_0', 'TLSv1_1', and 'TLSv1_2'." + items: + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + enabled: + description: Whether the web application firewall is enabled. + type: boolean + firewallMode: + description: "Web application firewall mode. Possible values are: 'Detection' + and 'Prevention'." + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + required: + - enabled diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a967060fbec4e7a106ef3eb26686d80537c37c2c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2016-12-01/swagger.yaml @@ -0,0 +1,1937 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2016-12-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/appli\ + cationGatewayBackendAddressPools/item\ + s" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/publicIPA\ + ddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/subnet" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/applicationGatewayBackend\ + AddressPools/items/properties/properties/proper\ + ties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/pr\ + operties/properties/applicationGatewayBackendAddr\ + essPools/items/properties/properties/properties/b\ + ackendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the + protocol is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the + reverse FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/prop\ + erties/properties/subnet/properties/properties/prop\ + erties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/publicIPAddre\ + ss" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet/proper\ + ties/properties/properties/networkSecurit\ + yGroup/properties/properties/properties/s\ + ecurityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/publi\ + cIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union + of all DNS servers from all + NICs that are part of the + Availability Set. This + property is what is configured + on each of those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers + collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same + virtual network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating + the VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual + network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfiguratio\ + ns/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/applicationGate\ + wayBackendAddressPool\ + s/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerBac\ + kendAddressPools/item\ + s" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerInb\ + oundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 + or IPv6. Default is + taken as IPv4. Possible + values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + publicIPAddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + subnet" + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/properties/properties/properti\ + es/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or source IP range. Asterisk + '*' can also be used to match all + source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be + used to match all ports. + type: string + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. + The lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: + 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: "Health of backend server. Possible values are: 'Unknown', 'Up', + 'Down', and 'Partial'." + enum: + - Unknown + - Up + - Down + - Partial + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: "Cookie based affinity. Possible values are: 'Enabled' and 'Disabled'." + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: "PrivateIP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + frontendPort: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + protocol: + description: "Protocol. Possible values are: 'Http' and 'Https'." + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: "Operational state of the application gateway resource. Possible + values are: 'Stopped', 'Started', 'Running', and 'Stopping'." + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + httpListener: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ruleType: + description: "Rule type. Possible values are: 'Basic' and 'PathBasedRouting'." + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: "Name of an application gateway SKU. Possible values are: + 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', + and 'WAF_Large'." + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: "Tier of an application gateway. Possible values are: 'Standard' + and 'WAF'." + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application gateway SSL policy. + properties: + disabledSslProtocols: + description: "SSL protocols to be disabled on application gateway. Possible + values are: 'TLSv1_0', 'TLSv1_1', and 'TLSv1_2'." + items: + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: "Web application firewall mode. Possible values are: 'Detection' + and 'Prevention'." + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + required: + - enabled diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0e79dd66c43aadfa235cf6ef96b6d2a75d47c61c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-03-01/swagger.yaml @@ -0,0 +1,2040 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-03-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/appli\ + cationGatewayBackendAddressPools/item\ + s" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/loadB\ + alancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/publicIPA\ + ddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/pro\ + perties/properties/properties/subnet" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/applicationGatewayBackend\ + AddressPools/items/properties/properties/proper\ + ties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/pr\ + operties/properties/applicationGatewayBackendAddr\ + essPools/items/properties/properties/properties/b\ + ackendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the + protocol is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the + reverse FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/prop\ + erties/properties/subnet/properties/properties/prop\ + erties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/publicIPAddre\ + ss" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet/proper\ + ties/properties/properties/networkSecurit\ + yGroup/properties/properties/properties/s\ + ecurityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/p\ + roperties/properties/properties/publi\ + cIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union + of all DNS servers from all + NICs that are part of the + Availability Set. This + property is what is configured + on each of those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers + collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same + virtual network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating + the VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual + network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfiguratio\ + ns/items/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/applicationGate\ + wayBackendAddressPool\ + s/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerBac\ + kendAddressPools/item\ + s" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfig\ + urations/items/proper\ + ties/properties/prope\ + rties/loadBalancerInb\ + oundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 + or IPv6. Default is + taken as IPv4. Possible + values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + publicIPAddress" + subnet: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigur\ + ations/items/properties\ + /properties/properties/\ + subnet" + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/properties/properties/properti\ + es/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/ite\ + ms/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or source IP range. Asterisk + '*' can also be used to match all + source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be + used to match all ports. + type: string + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. + The lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/properties/\ + properties/properties/publicIPAddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/a\ + llOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: + 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat/prope\ + rties/backendIPConfigurations/items/prope\ + rties/properties/properties/subnet" + readOnly: true + type: array + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + frontendPort: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + httpListener: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application gateway SSL policy. + properties: + disabledSslProtocols: + description: SSL protocols to be disabled on application gateway. + items: + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + frontendPort" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..077eb3529861a09947c57b9e981246a0ab01a3af --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-06-01/swagger.yaml @@ -0,0 +1,2475 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-06-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsGet: + parameters: + api-version: 2017-06-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet: + parameters: + api-version: 2017-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet: + parameters: + api-version: 2017-06-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c0d0a7d06234d0e964ced5656e84df1e5a5b9127 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-08-01/swagger.yaml @@ -0,0 +1,2487 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-08-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsGet: + parameters: + api-version: 2017-08-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet: + parameters: + api-version: 2017-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet: + parameters: + api-version: 2017-08-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: "The transport protocol for the endpoint. Possible values are: + 'Udp' or 'Tcp'" + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9b02dda37d7c517f9c5d19bd36d3679b65c51fb0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-09-01/swagger.yaml @@ -0,0 +1,2688 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-09-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsGet: + parameters: + api-version: 2017-09-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet: + parameters: + api-version: 2017-09-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet: + parameters: + api-version: 2017-09-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2017-09-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d5a06da9ab2e57e6aaabe29a464c758d4c399337 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-10-01/swagger.yaml @@ -0,0 +1,2695 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-10-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsGet: + parameters: + api-version: 2017-10-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet: + parameters: + api-version: 2017-10-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet: + parameters: + api-version: 2017-10-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2017-10-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5c1b30bc9104ec360c17baa343d5befdaa2e8e01 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2017-11-01/swagger.yaml @@ -0,0 +1,2708 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2017-11-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsGet: + parameters: + api-version: 2017-11-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet: + parameters: + api-version: 2017-11-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet: + parameters: + api-version: 2017-11-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2017-11-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0dcff16b30a35ee7d51ad1b9897340ed6c0d1ca9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-01-01/swagger.yaml @@ -0,0 +1,3263 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-01-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-01-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-01-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-01-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-01-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-01-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-01-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-01-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-01-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8980587721884bfc71a86651c2c5eece195565d8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-02-01/swagger.yaml @@ -0,0 +1,3267 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-02-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for every + service call. + in: path + name: subscriptionId + required: true + type: string +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-02-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-02-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-02-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-02-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/parameters/ApiVersionParameter" + - $ref: "#/parameters/SubscriptionIdParameter" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Resource that is unique within a resource group. This name can be + used to access the resource. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: Port + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: Protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6d690c9f692ac21995e51c72d94976f455ab1e64 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-04-01/swagger.yaml @@ -0,0 +1,3346 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-04-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-04-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-04-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-04-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-04-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleBounds: + description: Application Gateway autoscale bounds on number of Application + Gateway instance. + properties: + max: + description: Upper bound on number of Application Gateway instances. + format: int32 + type: integer + min: + description: Lower bound on number of Application Gateway instances. + format: int32 + type: integer + required: + - min + - max + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + bounds: + $ref: "#/definitions/ApplicationGatewayAutoscaleBounds" + description: Autoscale bounds + required: + - bounds + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..02ea7eae10010d1d9231ea78a0b07f31788dcbc5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-06-01/swagger.yaml @@ -0,0 +1,3346 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-06-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-06-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-06-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-06-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-06-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleBounds: + description: Application Gateway autoscale bounds on number of Application + Gateway instance. + properties: + max: + description: Upper bound on number of Application Gateway instances. + format: int32 + type: integer + min: + description: Lower bound on number of Application Gateway instances. + format: int32 + type: integer + required: + - min + - max + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + bounds: + $ref: "#/definitions/ApplicationGatewayAutoscaleBounds" + description: Autoscale bounds + required: + - bounds + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundNatRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c40589bf1c755160fd3544f42750ab8f37483a7d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-07-01/swagger.yaml @@ -0,0 +1,3426 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-07-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-07-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-07-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-07-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-07-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleBounds: + description: Application Gateway autoscale bounds on number of Application + Gateway instance. + properties: + max: + description: Upper bound on number of Application Gateway instances. + format: int32 + type: integer + min: + description: Lower bound on number of Application Gateway instances. + format: int32 + type: integer + required: + - min + - max + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + bounds: + $ref: "#/definitions/ApplicationGatewayAutoscaleBounds" + description: Autoscale bounds + required: + - bounds + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationGatewayBackendAddressPools/\ + items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /applicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /loadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is + IPv4 or IPv6. Default is taken as + IPv4. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + ublicIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + description: Subnet bound to the IP configuration. + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPAddress\ + /allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/applicati\ + onGatewayBackendAddressPools/items/properties/pro\ + perties/properties/backendIPConfigurations/items" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/application\ + GatewayBackendAddressPools/items/properties/propert\ + ies/properties/backendIPConfigurations/items" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /publicIPAddress/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicIPA\ + ddress/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/publicI\ + PAddress/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + type: string + service: + description: service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8dad1a2a4dc6e1dccdb880adf3b6e03ba0f37113 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-08-01/swagger.yaml @@ -0,0 +1,3956 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-08-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-08-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-08-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-08-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-08-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + parameters: + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: [] + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + minCapacity: + description: Lower bound on number of Application Gateway instances + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers) + type: string + type: array + interfaceEndpoints: + description: "An array of references to interface endpoints " + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the + interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP + allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this interface endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface + endpoint. + readOnly: true + type: string + provisioningState: + description: "The provisioning state of the interface endpoint. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources + items: + type: string + readOnly: true + type: array + interfaceEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/interfaceEndpoints/items" + description: A reference to the interface endpoint to which the network + interface is linked. + readOnly: true + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: "The Private IP allocation method. Possible values are: 'Static' + and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. Possible + values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyvaultSecretId: + description: KeyVault Secret Id for certificate. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/redi\ + rectConfiguration" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 500 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7125fd9da8c15c62a9357704c260fb103bc2e45f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-10-01/swagger.yaml @@ -0,0 +1,4296 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-10-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-10-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-10-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-10-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-10-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-10-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-10-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-10-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1start/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-10-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + minCapacity: + description: Lower bound on number of Application Gateway instances + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers) + type: string + type: array + interfaceEndpoints: + description: "An array of references to interface endpoints " + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the + interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP + allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this interface endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface + endpoint. + readOnly: true + type: string + provisioningState: + description: "The provisioning state of the interface endpoint. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources + items: + type: string + readOnly: true + type: array + interfaceEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/interfaceEndpoints/items" + description: A reference to the interface endpoint to which the network + interface is linked. + readOnly: true + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: "The Private IP allocation method. Possible values are: 'Static' + and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. Possible + values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration + type: string + headerValue: + description: Header value of the header configuration + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 500 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..96cd29a31ba3decbe73ae25ae39b3d7e466284d4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-11-01/swagger.yaml @@ -0,0 +1,4452 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-11-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: unexpected error + schema: + properties: + code: + type: string + details: + items: + properties: + code: + type: string + message: + type: string + target: + type: string + type: array + innerError: + type: string + message: + type: string + target: + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-11-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-11-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-11-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-11-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + name: Set X-Forwarded-For + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-11-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers) + type: string + type: array + interfaceEndpoints: + description: "An array of references to interface endpoints " + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the + interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP + allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this interface endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface + endpoint. + readOnly: true + type: string + provisioningState: + description: "The provisioning state of the interface endpoint. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources + items: + type: string + readOnly: true + type: array + interfaceEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/interfaceEndpoints/items" + description: A reference to the interface endpoint to which the network + interface is linked. + readOnly: true + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisks '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisks '*' can also be + used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisks '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisks '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: "The Private IP allocation method. Possible values are: 'Static' + and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. Possible + values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration + type: string + headerValue: + description: Header value of the header configuration + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: the probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of application the gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 500 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6c82e0972d098bdfb663ecd340fa81b2c2de6157 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2018-12-01/swagger.yaml @@ -0,0 +1,4530 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2018-12-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2018-12-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2018-12-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: unexpected error + schema: + properties: + code: + type: string + details: + items: + properties: + code: + type: string + message: + type: string + target: + type: string + type: array + innerError: + type: string + message: + type: string + target: + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2018-12-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2018-12-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2018-12-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2018-12-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2018-12-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2018-12-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2018-12-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2018-12-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2018-12-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: List of ApplicationGatewayBackendHealthPool resources. + properties: + backendAddressPools: + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 or IPv6. Default + is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + description: "The public IP address version. Possible values are: 'IPv4' and + 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: "The public IP allocation method. Possible values are: 'Static' and + 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers) + type: string + type: array + interfaceEndpoints: + description: "An array of references to interface endpoints " + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the + interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP + allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this interface endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface + endpoint. + readOnly: true + type: string + provisioningState: + description: "The provisioning state of the interface endpoint. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and + 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources + items: + type: string + readOnly: true + type: array + interfaceEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/interfaceEndpoints/items" + description: A reference to the interface endpoint to which the network + interface is linked. + readOnly: true + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. Possible values + are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: "The network traffic is allowed or denied. Possible values are: + 'Allow' and 'Deny'." + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: "The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. Possible values are: + 'Inbound' and 'Outbound'." + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', and '*'. + enum: + - Tcp + - Udp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: "The type of Azure hop the packet should be sent to. Possible + values are: 'VirtualNetworkGateway', + 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'" + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: "The Private IP allocation method. Possible values are: 'Static' + and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: "Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. Possible + values are: 'IPv4' and 'IPv6'." + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: "Defines how a private IP address is assigned. Possible values are: + 'Static' and 'Dynamic'." + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + description: The protocol used to communicate with the backend. Possible values + are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration + type: string + headerValue: + description: Header value of the header configuration + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + description: Protocol of the HTTP listener. Possible values are 'Http' and 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayPathRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + description: The protocol used for the probe. Possible values are 'Http' and + 'Https'. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: Supported http redirection types - Permanent, Temporary, Found, + SeeOther. + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRule/allOf/0" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 500 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0738526c50f0fcc68a9c0672872644afaded8c3b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-02-01/swagger.yaml @@ -0,0 +1,4773 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2019-02-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2019-02-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: unexpected error + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2019-02-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: unexpected error + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2019-02-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2019-02-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2019-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2019-02-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2019-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2019-02-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2019-02-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2019-02-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + post: + description: Gets the backend health for given combination of backend pool and + http setting of the specified application gateway in a resource group. + operationId: ApplicationGateways_BackendHealthOnDemand + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + - description: Request body for on-demand test probe operation. + in: body + name: probeRequest + required: true + schema: + $ref: "#/definitions/ApplicationGatewayOnDemandProbe" + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealthOnDemand" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Test Backend Health: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + probeRequest: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + path: / + pickHostNameFromBackendHttpSettings: true + protocol: Http + timeout: 30 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHealthHttpSettings: + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2019-02-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + description: Properties of the application gateway. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + description: Properties of the application gateway authentication certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + description: Properties of the application gateway available SSL options. + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + description: Properties of the application gateway backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: Response for ApplicationGatewayBackendHealth API service call. + properties: + backendAddressPools: + description: A list of ApplicationGatewayBackendHealthPool resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthOnDemand: + description: Result of on demand test probe + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHealthHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + description: Application gateway BackendHealthHttp settings. + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' + or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: "Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. " + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAddr\ + essVersion" + description: The public IP address version. + publicIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAllo\ + cationMethod" + description: The public IP address allocation method. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers) + type: string + type: array + interfaceEndpoints: + description: "An array of references to interface endpoints " + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the + interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP + allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this interface endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface + endpoint. + readOnly: true + type: string + provisioningState: + description: "The provisioning state of the interface endpoint. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + natGateway: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Nat gateway associated with this subnet. + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: "NetworkInterface properties. " + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources + items: + type: string + readOnly: true + type: array + interfaceEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/interfaceEndpoints/items" + description: A reference to the interface endpoint to which the network + interface is linked. + readOnly: true + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + ddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + llocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. Possible values are 'Tcp', + 'Udp', 'Icmp', 'Esp', and '*'. + enum: + - Tcp + - Udp + - Icmp + - Esp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: "The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. " + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: The type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The Private IP allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + description: Properties of the application gateway backend HTTP settings. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used to communicate with the backend. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + description: Properties of the application gateway firewall rule set. + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + description: Properties of the application gateway frontend IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + description: Properties of the application gateway frontend port. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration + type: string + headerValue: + description: Header value of the header configuration + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + description: Properties of the application gateway HTTP listener. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: Protocol of the HTTP listener. + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + description: Properties of the application gateway IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayOnDemandProbe: + description: Details of on demand test probe request + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + host: + description: Host name to send the probe to. + type: string + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + description: Properties of the application gateway path rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + description: Properties of the application gateway probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://: + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayProtocol: + description: Application Gateway protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + description: Properties of the application gateway redirect configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: HTTP redirection type. + type: string + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + description: Properties of the application gateway request routing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + description: Properties of the application gateway rewrite rule set. + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + description: Properties of the application gateway SSL certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy + policyType: + description: Type of Ssl Policy + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: An Ssl predefined policy + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + description: Properties of the application gateway SSL predefined policy. + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + description: Properties of the application gateway trusted root certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + description: Properties of the application gateway URL path map. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + description: Redirect type enum. + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..580e670e74dd563981e3d6c8c0d87cd231286de6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-04-01/swagger.yaml @@ -0,0 +1,5294 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2019-04-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2019-04-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2019-04-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2019-04-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2019-04-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2019-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2019-04-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2019-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2019-04-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2019-04-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist. + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2019-04-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + Create Application Gateway Without Certificates: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + location: eastus + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 81 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Http + requireServerNameIndication: false + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_add_x_forwarded_for_proxy}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_v2 + tier: Standard_v2 + sslCertificates: [] + trustedRootCertificates: [] + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 81 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: [] + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 81 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: [] + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + post: + description: Gets the backend health for given combination of backend pool and + http setting of the specified application gateway in a resource group. + operationId: ApplicationGateways_BackendHealthOnDemand + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + - description: Request body for on-demand test probe operation. + in: body + name: probeRequest + required: true + schema: + $ref: "#/definitions/ApplicationGatewayOnDemandProbe" + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealthOnDemand" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Test Backend Health: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + probeRequest: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + path: / + pickHostNameFromBackendHttpSettings: true + protocol: Http + timeout: 30 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHealthHttpSettings: + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2019-04-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + description: Properties of the application gateway. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + description: Properties of the application gateway authentication certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + description: Properties of the application gateway available SSL options. + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions. + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway. + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + description: Properties of the application gateway backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: Response for ApplicationGatewayBackendHealth API service call. + properties: + backendAddressPools: + description: A list of ApplicationGatewayBackendHealthPool resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthOnDemand: + description: Result of on demand test probe. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHealthHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + description: Application gateway BackendHealthHttp settings. + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address. + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc. + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAddr\ + essVersion" + description: The public IP address version. + publicIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAllo\ + cationMethod" + description: The public IP address allocation method. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers). + type: string + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + natGateway: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Nat gateway associated with this subnet. + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: NetworkInterface properties. + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources. + items: + type: string + readOnly: true + type: array + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + ddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + llocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + privateEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/privateEndpoints/items" + description: A reference to the private endpoint to which the network interface + is linked. + readOnly: true + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: The CIDR or source IP range. Asterisk '*' can also be used to match + all source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + privateEndpointNetworkPolicies: + description: Enable or Disable private end point on the subnet. + type: string + privateEndpoints: + description: An array of references to private endpoints. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. Used when the network admin does + not have access to approve connections to + the remote resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/pr\ + ivateEndpoints/items/properties/propertie\ + s/properties/privateLinkServiceConnection\ + s/items" + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this private endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that + this private endpoint should + connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection + between service consumer and + provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any + updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed + by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/subnet/properties/properti\ + es/properties/privateEndpoints/it\ + ems/properties/properties/propert\ + ies/provisioningState" + requestMessage: + description: A message passed to the owner of the remote resource with this + connection request. Restricted to + 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + privateLinkServiceNetworkPolicies: + description: Enable or Disable private link service on the subnet. + type: string + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + id: + description: Resource navigation link identifier. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource. + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource. + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: The type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + allowDelete: + description: If true, the resource can be deleted. + type: boolean + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: + description: Resource type. + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: It represents whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The Private IP allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + description: Properties of the application gateway backend HTTP settings. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used to communicate with the backend. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check. + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + description: Properties of the application gateway firewall rule set. + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + description: Properties of the application gateway frontend IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + description: Properties of the application gateway frontend port. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port. + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration. + type: string + headerValue: + description: Header value of the header configuration. + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + description: Properties of the application gateway HTTP listener. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: Protocol of the HTTP listener. + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + description: Properties of the application gateway IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayOnDemandProbe: + description: Details of on demand test probe request. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + host: + description: Host name to send the probe to. + type: string + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + description: Properties of the application gateway path rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + description: Properties of the application gateway probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match. + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + port: + description: Custom port which will be used for probing the backend servers. The + valid value ranges from 1 to 65535. In case not set, port from http + settings will be used. This property is valid for Standard_v2 and + WAF_v2 only. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayProtocol: + description: Application Gateway protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + description: Properties of the application gateway redirect configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: HTTP redirection type. + type: string + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + description: Properties of the application gateway request routing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition. + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + description: Properties of the application gateway rewrite rule set. + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway. + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + description: Properties of the application gateway SSL certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy. + policyType: + description: Type of Ssl Policy. + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: An Ssl predefined policy. + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + description: Properties of the application gateway SSL predefined policy. + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + description: Properties of the application gateway trusted root certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + description: Properties of the application gateway URL path map. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + description: Redirect type enum. + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a5d395ca38e31c11cdd660453ce2dcdd0b3cf94 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-06-01/swagger.yaml @@ -0,0 +1,4898 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2019-06-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2019-06-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2019-06-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2019-06-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2019-06-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2019-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2019-06-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2019-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2019-06-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2019-06-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist. + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2019-06-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + location: eastus + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_add_x_forwarded_for_proxy}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_v2 + tier: Standard_v2 + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + post: + description: Gets the backend health for given combination of backend pool and + http setting of the specified application gateway in a resource group. + operationId: ApplicationGateways_BackendHealthOnDemand + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + - description: Request body for on-demand test probe operation. + in: body + name: probeRequest + required: true + schema: + $ref: "#/definitions/ApplicationGatewayOnDemandProbe" + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealthOnDemand" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Test Backend Health: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + probeRequest: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + path: / + pickHostNameFromBackendHttpSettings: true + protocol: Http + timeout: 30 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHealthHttpSettings: + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2019-06-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + description: Properties of the application gateway. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + description: Properties of the application gateway authentication certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + description: "Provisioning state of the authentication certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + description: Properties of the application gateway available SSL options. + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions. + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway. + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + description: Properties of the application gateway backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayBackendHealth: + description: Response for ApplicationGatewayBackendHealth API service call. + properties: + backendAddressPools: + description: A list of ApplicationGatewayBackendHealthPool resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthOnDemand: + description: Result of on demand test probe. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHealthHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + description: Application gateway BackendHealthHttp settings. + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + description: "Provisioning state of the backend address pool resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: "The provisioning state of the application security group resource. + Possible values are: 'Succeeded', 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within the set of backend + address pools used by the load balancer. This name can + be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Gets outbound rules that use this backend address pool. + readOnly: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + description: "Get provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + readOnly: true + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Gets name of the resource that is unique within the set of inbound + NAT rules used by the load balancer. This name can be + used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + type: + description: Type of the resource. + readOnly: true + type: string + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address. + properties: + domainNameLabel: + description: Gets or sets the Domain name label.The concatenation of the domain + name label and the regionalized DNS zone make up + the fully qualified domain name associated with + the public IP address. If a domain name label is + specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + type: string + fqdn: + description: Gets the FQDN, Fully qualified domain name of the A DNS record + associated with the public IP. This is the + concatenation of the domainNameLabel and the + regionalized DNS zone. + type: string + reverseFqdn: + description: Gets or Sets the Reverse FQDN. A user-visible, fully qualified + domain name that resolves to this public IP + address. If the reverseFqdn is specified, then a + PTR DNS record is created pointing from the IP + address in the in-addr.arpa domain to the reverse + FQDN. + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: "Gets or sets the ipTag type: Example FirstPartyUsage." + type: string + tag: + description: Gets or sets value of the IpTag associated with the public IP. + Example SQL, Storage etc. + type: string + type: array + provisioningState: + description: "The provisioning state of the PublicIP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAddr\ + essVersion" + description: The public IP address version. + publicIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAllo\ + cationMethod" + description: The public IP address allocation method. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: Gets an array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers). + type: string + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: Gets an array of references to the network interface IP + configurations using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + natGateway: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Nat gateway associated with this subnet. + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: NetworkInterface properties. + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources. + items: + type: string + readOnly: true + type: array + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + ddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific + ipconfiguration is IPv4 or + IPv6. Default is taken as + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + llocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual + machine. + type: boolean + privateEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/privateEndpoints/items" + description: A reference to the private endpoint to which the network interface + is linked. + readOnly: true + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: + 'Updating', 'Deleting', + and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: "The provisioning state of the public IP resource. Possible values + are: 'Updating', 'Deleting', and + 'Failed'." + type: string + sourceAddressPrefix: + description: The CIDR or source IP range. Asterisk '*' can also be used to match + all source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + privateEndpointNetworkPolicies: + description: Enable or Disable apply network policies on private end point in + the subnet. + type: string + privateEndpoints: + description: An array of references to private endpoints. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. Used when the network admin does + not have access to approve connections to + the remote resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/pr\ + ivateEndpoints/items/properties/propertie\ + s/properties/privateLinkServiceConnection\ + s/items" + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for + this private endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that + this private endpoint should + connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection + between service consumer and + provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any + updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed + by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/subnet/properties/properti\ + es/properties/privateEndpoints/it\ + ems/properties/properties/propert\ + ies/provisioningState" + requestMessage: + description: A message passed to the owner of the remote resource with this + connection request. Restricted to + 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + privateLinkServiceNetworkPolicies: + description: Enable or Disable apply network policies on private link service in + the subnet. + type: string + provisioningState: + description: The provisioning state of the resource. + type: string + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: Gets an array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + id: + description: Resource navigation link identifier. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource. + readOnly: true + type: string + type: + description: Resource type. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Route Table resource. + properties: + disableBgpRoutePropagation: + description: Gets or sets whether to disable the routes learned by BGP on that + route table. True means disable. + type: boolean + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource. + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: The type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: "The provisioning state of the resource. Possible values are: + 'Updating', 'Deleting', and + 'Failed'." + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: Gets an array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + allowDelete: + description: If true, the resource can be deleted. + type: boolean + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: Provisioning state of the ServiceAssociationLink resource. + readOnly: true + type: string + type: + description: Resource type. + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + description: "The provisioning state of the service endpoint policy. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + description: "The provisioning state of the service end point policy definition. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + description: The provisioning state of the resource. + type: string + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource + is updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend + IP configurations used by the load balancer. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: It represents whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The Private IP allocation method. + provisioningState: + description: "Gets the provisioning state of the public IP resource. Possible + values are: 'Updating', 'Deleting', and + 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Gets whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Available from Api-Version 2016-03-30 onwards, it represents + whether the specific ipconfiguration is IPv4 + or IPv6. Default is taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + description: "The provisioning state of the network interface IP configuration. + Possible values are: 'Updating', 'Deleting', + and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + description: "The provisioning state of the network interface tap configuration. + Possible values are: 'Updating', + 'Deleting', and 'Failed'." + readOnly: true + type: string + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + description: "The provisioning state of the virtual network tap. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + resourceGuid: + description: The resourceGuid property of the virtual network tap. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + description: Properties of the application gateway backend HTTP settings. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used to communicate with the backend. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check. + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + description: Properties of the application gateway firewall rule set. + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + description: The provisioning state of the web application firewall rule set. + type: string + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + description: Properties of the application gateway frontend IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: "Provisioning state of the public IP resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + description: Properties of the application gateway frontend port. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port. + format: int32 + type: integer + provisioningState: + description: "Provisioning state of the frontend port resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration. + type: string + headerValue: + description: Header value of the header configuration. + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + description: Properties of the application gateway HTTP listener. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: Protocol of the HTTP listener. + provisioningState: + description: "Provisioning state of the HTTP listener resource. Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + description: Properties of the application gateway IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + description: "Provisioning state of the application gateway subnet resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayOnDemandProbe: + description: Details of on demand test probe request. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + host: + description: Host name to send the probe to. + type: string + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + description: Properties of the application gateway path rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + description: "Path rule of URL path map resource. Possible values are: + 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + description: Properties of the application gateway probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match. + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + port: + description: Custom port which will be used for probing the backend servers. The + valid value ranges from 1 to 65535. In case not set, port from http + settings will be used. This property is valid for Standard_v2 and + WAF_v2 only. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + description: "Provisioning state of the application gateway resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: Resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayProtocol: + description: Application Gateway protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + description: Properties of the application gateway redirect configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: HTTP redirection type. + type: string + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + description: Properties of the application gateway request routing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + provisioningState: + description: "Provisioning state of the request routing rule resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition. + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + description: Properties of the application gateway rewrite rule set. + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + description: "Provisioning state of the rewrite rule set resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + readOnly: true + type: string + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway. + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + description: Properties of the application gateway SSL certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + description: "Provisioning state of the SSL certificate resource Possible values + are: 'Updating', 'Deleting', and 'Failed'." + type: string + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy. + policyType: + description: Type of Ssl Policy. + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: An Ssl predefined policy. + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + description: Properties of the application gateway SSL predefined policy. + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + description: Properties of the application gateway trusted root certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + description: "Provisioning state of the trusted root certificate resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + description: Properties of the application gateway URL path map. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + description: "Provisioning state of the backend http settings resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'." + type: string + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + description: Redirect type enum. + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..83f630560468cf5f68e40346d11a14f23bd2783f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-07-01/swagger.yaml @@ -0,0 +1,4974 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2019-07-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/applicationGateway.json + version: "2.0" + x-preferred: true + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2019-07-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2019-07-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2019-07-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2019-07-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2019-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2019-07-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2019-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2019-07-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2019-07-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist. + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + priority: 10 + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + priority: 20 + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2019-07-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + location: eastus + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + priority: 10 + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + priority: 20 + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_add_x_forwarded_for_proxy}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_v2 + tier: Standard_v2 + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + post: + description: Gets the backend health for given combination of backend pool and + http setting of the specified application gateway in a resource group. + operationId: ApplicationGateways_BackendHealthOnDemand + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + - description: Request body for on-demand test probe operation. + in: body + name: probeRequest + required: true + schema: + $ref: "#/definitions/ApplicationGatewayOnDemandProbe" + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealthOnDemand" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Test Backend Health: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + probeRequest: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + path: / + pickHostNameFromBackendHttpSettings: true + protocol: Http + timeout: 30 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHealthHttpSettings: + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2019-07-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + description: Properties of the application gateway. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + description: Properties of the application gateway authentication certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + description: Properties of the application gateway available SSL options. + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions. + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway. + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + description: Properties of the application gateway backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayBackendHealth: + description: Response for ApplicationGatewayBackendHealth API service call. + properties: + backendAddressPools: + description: A list of ApplicationGatewayBackendHealthPool resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthOnDemand: + description: Result of on demand test probe. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHealthHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + description: Application gateway BackendHealthHttp settings. + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the backend address pool resource. + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the application security group resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of backend + address pools used by the load balancer. This name can + be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: An array of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this + backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to an outbound rule that uses this backend address + pool. + readOnly: true + outboundRules: + description: An array of references to outbound rules that use this backend + address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the backend address pool resource. + type: + description: Type of the resource. + readOnly: true + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound + NAT rules used by the load balancer. This name can be + used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the inbound NAT rule resource. + type: + description: Type of the resource. + readOnly: true + type: string + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address. + properties: + domainNameLabel: + description: The domain name label. The concatenation of the domain name label + and the regionalized DNS zone make up the fully + qualified domain name associated with the public + IP address. If a domain name label is specified, + an A DNS record is created for the public IP in + the Microsoft Azure DNS system. + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with + the public IP. This is the concatenation of the + domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: The reverse FQDN. A user-visible, fully qualified domain name that + resolves to this public IP address. If the + reverseFqdn is specified, then a PTR DNS record is + created pointing from the IP address in the + in-addr.arpa domain to the reverse FQDN. + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: "The IP tag type. Example: FirstPartyUsage." + type: string + tag: + description: "The value of the IP tag associated with the public IP. Example: + SQL." + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisioningS\ + tate" + description: The provisioning state of the public IP address resource. + publicIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAddr\ + essVersion" + description: The public IP address version. + publicIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAllo\ + cationMethod" + description: The public IP address allocation method. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP address resource. + type: string + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: An array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service delegation resource. + readOnly: true + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers). + type: string + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the IP configuration profile resource. + readOnly: true + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: An array of references to the network interface IP configurations + using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the IP configuration resource. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + natGateway: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Nat gateway associated with this subnet. + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: NetworkInterface properties. + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources. + items: + type: string + readOnly: true + type: array + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + ddressVersion" + description: Whether the specific IP configuration is IPv4 or IPv6. Default is + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + llocationMethod" + description: The private IP address allocation method. + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/provisioni\ + ngState" + description: The provisioning state of the network interface IP configuration. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Whether this is a primary network interface on a virtual machine. + type: boolean + privateEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/privateEndpoints/items" + description: A reference to the private endpoint to which the network interface + is linked. + readOnly: true + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the network interface resource. + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/provisioni\ + ngState" + description: The provisioning state of the network interface tap configuration + resource. + readOnly: true + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provi\ + sioningState" + description: The provisioning state of the network security group resource. + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - "*" + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the security rule resource. + sourceAddressPrefix: + description: The CIDR or source IP range. Asterisk '*' can also be used to match + all source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + privateEndpointNetworkPolicies: + description: Enable or Disable apply network policies on private end point in + the subnet. + type: string + privateEndpoints: + description: An array of references to private endpoints. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. Used when the network admin does + not have access to approve connections to + the remote resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/pr\ + ivateEndpoints/items/properties/propertie\ + s/properties/privateLinkServiceConnection\ + s/items" + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this + private endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that + this private endpoint should + connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection + between service consumer and + provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any + updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed + by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/provisioningState" + description: The provisioning state of the private link service connection + resource. + requestMessage: + description: A message passed to the owner of the remote resource with this + connection request. Restricted to + 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the private endpoint resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + privateLinkServiceNetworkPolicies: + description: Enable or Disable apply network policies on private link service in + the subnet. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisioningS\ + tate" + description: The provisioning state of the subnet resource. + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: An array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + id: + description: Resource navigation link identifier. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the resource navigation link resource. + readOnly: true + type: + description: Resource type. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Route Table resource. + properties: + disableBgpRoutePropagation: + description: Whether to disable the routes learned by BGP on that route table. + True means disable. + type: boolean + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provi\ + sioningState" + description: The provisioning state of the route table resource. + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource. + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: The type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the route resource. + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: An array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + allowDelete: + description: If true, the resource can be deleted. + type: boolean + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service association link resource. + readOnly: true + type: + description: Resource type. + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service endpoint policy resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/provisioningState" + description: The provisioning state of the service endpoint policy definition + resource. + readOnly: true + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisi\ + oningState" + description: The provisioning state of the service endpoint resource. + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend + IP configurations used by the load balancer. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: An array of references to inbound pools that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: An array of references to inbound rules that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this + frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: An array of references to outbound rules that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Whether the specific ipconfiguration is IPv4 or IPv6. Default is + taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The Private IP allocation method. + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the frontend IP configuration resource. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Whether the specific IP configuration is IPv4 or IPv6. Default is + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the network interface IP configuration. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + rovisioningState" + description: The provisioning state of the network interface tap configuration + resource. + readOnly: true + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the virtual network tap resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the virtual network tap resource. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + description: Properties of the application gateway backend HTTP settings. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used to communicate with the backend. + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check. + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + description: Properties of the application gateway firewall rule set. + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + description: Properties of the application gateway frontend IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + description: Properties of the application gateway frontend port. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port. + format: int32 + type: integer + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration. + type: string + headerValue: + description: Header value of the header configuration. + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + description: Properties of the application gateway HTTP listener. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: Protocol of the HTTP listener. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + description: Properties of the application gateway IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayOnDemandProbe: + description: Details of on demand test probe request. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + host: + description: Host name to send the probe to. + type: string + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + description: Properties of the application gateway path rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + description: Properties of the application gateway probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match. + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + port: + description: Custom port which will be used for probing the backend servers. The + valid value ranges from 1 to 65535. In case not set, port from http + settings will be used. This property is valid for Standard_v2 and + WAF_v2 only. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: The resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayProtocol: + description: Application Gateway protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + description: Properties of the application gateway redirect configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: HTTP redirection type. + type: string + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + description: Properties of the application gateway request routing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + priority: + description: Priority of the request routing rule. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 20000 + minimum: 1 + type: integer + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition. + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + description: Properties of the application gateway rewrite rule set. + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway. + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + description: Properties of the application gateway SSL certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy. + policyType: + description: Type of Ssl Policy. + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: An Ssl predefined policy. + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + description: Properties of the application gateway SSL predefined policy. + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + description: Properties of the application gateway trusted root certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + description: Properties of the application gateway URL path map. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + description: Redirect type enum. + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..416f4710eef8fd79f9d480d772880314507c36e0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationGateway/2019-08-01/swagger.yaml @@ -0,0 +1,4975 @@ +swagger: "2.0" +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set + of web services that interact with Microsoft Azure Networks service to + manage your network resources. The API has entities that capture the + relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: 2019-08-01 + x-apisguru-categories: + - cloud + x-logo: + url: https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png + x-origin: + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/applicationGateway.json + version: "2.0" + - format: swagger + url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/applicationGateway.json + version: "2.0" + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": + get: + description: Lists all available request headers. + operationId: ApplicationGateways_ListAvailableRequestHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available request + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableRequestHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Request Headers: + parameters: + api-version: 2019-08-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Accept-Charset + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": + get: + description: Lists all available response headers. + operationId: ApplicationGateways_ListAvailableResponseHeaders + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available response + headers. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableResponseHeadersResult" + default: + description: Unexpected error. + schema: + $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1providers~1Microsoft.Netw\ + ork~1applicationGatewayAvailableServerVariables/get/responses/def\ + ault/schema" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Response Headers: + parameters: + api-version: 2019-08-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - Access-Control-Allow-Origin + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": + get: + description: Lists all available server variables. + operationId: ApplicationGateways_ListAvailableServerVariables + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available server + variables. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableServerVariablesResult" + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ApplicationGateways + x-ms-examples: + Get Available Server Variables: + parameters: + api-version: 2019-08-01 + subscriptionId: 72f988bf-86f1-41af-91ab-2d7cd0dddd4 + responses: + "200": + body: + - request_query + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": + get: + description: Lists available Ssl options for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslOptions + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns all available Ssl options for + configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptions" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Options: + parameters: + api-version: 2019-08-01 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default + name: default + properties: + availableCipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + availableProtocols: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + defaultPolicy: AppGwSslPolicy20150501 + predefinedPolicies: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + type: Microsoft.Network/ApplicationGatewayAvailableSslOptions + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": + get: + description: Lists all SSL predefined policies for configuring Ssl policy. + operationId: ApplicationGateways_ListAvailableSslPredefinedPolicies + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a lists of all Ssl predefined + policies for configuring Ssl policy. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policies: + parameters: + api-version: 2019-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401 + name: AppGwSslPolicy20170401 + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_1 + - id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S + name: AppGwSslPolicy20170401S + properties: + cipherSuites: + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + minProtocolVersion: TLSv1_2 + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": + get: + description: Gets Ssl predefined policy with the specified policy name. + operationId: ApplicationGateways_GetSslPredefinedPolicy + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Name of Ssl predefined policy. + in: path + name: predefinedPolicyName + required: true + type: string + responses: + "200": + description: Success. The operation returns a Ssl predefined policy with the + specified policy name. + schema: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Ssl Predefined Policy by name: + parameters: + api-version: 2019-08-01 + predefinedPolicyName: AppGwSslPolicy20150501 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501 + name: AppGwSslPolicy20150501 + properties: + cipherSuites: + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + minProtocolVersion: TLSv1_0 + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": + get: + description: Lists all available web application firewall rule sets. + operationId: ApplicationGateways_ListAvailableWafRuleSets + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of all available web + application firewall rule sets. + schema: + $ref: "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + tags: + - ApplicationGateways + x-ms-examples: + Get Available Waf Rule Sets: + parameters: + api-version: 2019-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/ + name: OWASP_3.0 + properties: + provisioningState: Succeeded + ruleGroups: + - description: "" + ruleGroupName: General + rules: + - description: Possible Multipart Unmatched Boundary. + ruleId: 200004 + ruleSetType: OWASP + ruleSetVersion: "3.0" + type: Microsoft.Network/applicationGatewayAvailableWafRuleSets + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": + get: + description: Gets all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a subscription: + parameters: + api-version: 2019-08-01 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": + get: + description: Lists all application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Success. The operation returns a list of ApplicationGateway + resources. + schema: + $ref: "#/definitions/ApplicationGatewayListResult" + tags: + - ApplicationGateways + x-ms-examples: + Lists all application gateways in a resource group: + parameters: + api-version: 2019-08-01 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + value: + - location: southcentralus + name: appgw + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + ruleType: Basic + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - name: sslcert + properties: + data: base64-pfxData + password: pass1 + type: Microsoft.Network/applicationGateways + x-ms-pageable: + nextLinkName: nextLink + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": + delete: + description: Deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Delete successful. + "202": + description: Accepted and the operation will complete asynchronously. + "204": + description: Request successful. Resource with the specified name does not exist. + tags: + - ApplicationGateways + x-ms-examples: + Delete ApplicationGateway: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + "204": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation returns an ApplicationGateway + resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Get ApplicationGateway: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + priority: 10 + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + priority: 20 + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + patch: + description: Updates the specified application gateway tags. + operationId: ApplicationGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to update application gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Update Application Gateway tags: + parameters: + api-version: 2019-08-01 + applicationGatewayName: AppGw + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw + location: westus + name: AppGw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + name: Pool01 + properties: + backendAddresses: + - ipAddress: 10.10.10.1 + - ipAddress: 10.10.10.2 + - ipAddress: 10.10.10.3 + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + name: PoolSetting01 + properties: + cookieBasedAffinity: Disabled + pickHostNameFromBackendAddress: false + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + name: FrontEndConfig01 + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1 + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + name: FrontEndPort01 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01 + name: GatewayIp01 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1 + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + name: listener1 + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01 + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01 + protocol: Http + provisioningState: Succeeded + requireServerNameIndication: false + operationalState: Running + probes: [] + provisioningState: Succeeded + redirectConfigurations: [] + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01 + name: Rule01 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01 + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01 + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1 + provisioningState: Succeeded + ruleType: Basic + resourceGuid: 00000000-0000-0000-0000-000000000000 + sku: + capacity: 2 + name: Standard_Small + tier: Standard + sslCertificates: [] + urlPathMaps: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + put: + description: Creates or updates the specified application gateway. + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create or update application gateway + operation. + in: body + name: parameters + required: true + schema: + $ref: "#/definitions/ApplicationGateway" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Update successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + "201": + description: Create successful. The operation returns the resulting + ApplicationGateway resource. + schema: + $ref: "#/definitions/ApplicationGateway" + tags: + - ApplicationGateways + x-ms-examples: + Create Application Gateway: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + parameters: + identity: + type: UserAssigned + userAssignedIdentities: + /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1: {} + location: eastus + properties: + backendAddressPools: + - name: appgwpool + properties: + backendAddresses: + - ipAddress: 10.0.1.1 + - ipAddress: 10.0.1.2 + backendHttpSettingsCollection: + - name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + requestTimeout: 30 + frontendIPConfigurations: + - name: appgwfip + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - name: appgwfp + properties: + port: 443 + - name: appgwfp80 + properties: + port: 80 + gatewayIPConfigurations: + - name: appgwipc + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet + httpListeners: + - name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + requestRoutingRules: + - name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + priority: 10 + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + priority: 20 + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - name: rewriteRuleSet1 + properties: + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_add_x_forwarded_for_proxy}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_v2 + tier: Standard_v2 + sslCertificates: + - name: sslcert + properties: + data: "****" + password: "****" + - name: sslcert2 + properties: + keyVaultSecretId: https://kv/secret + trustedRootCertificates: + - name: rootcert + properties: + data: "****" + - name: rootcert1 + properties: + keyVaultSecretId: https://kv/secret + urlPathMaps: + - name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + "201": + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw + location: southcentralus + name: appgw + properties: + authenticationCertificates: [] + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + name: appgwpool + properties: + backendAddresses: [] + provisioningState: Succeeded + backendHttpSettingsCollection: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + name: appgwbhs + properties: + cookieBasedAffinity: Disabled + port: 80 + protocol: Http + provisioningState: Succeeded + requestTimeout: 30 + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + name: appgwfip + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip + frontendPorts: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + name: appgwfp + properties: + port: 443 + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + name: appgwfp80 + properties: + port: 80 + provisioningState: Succeeded + gatewayIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc + name: appgwipc + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet + httpListeners: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + name: appgwhl + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp + protocol: Https + provisioningState: Succeeded + requireServerNameIndication: false + sslCertificate: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + name: appgwhttplistener + properties: + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip + frontendPort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80 + protocol: Http + provisioningState: Succeeded + operationalState: Running + probes: [] + provisioningState: Succeeded + requestRoutingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule + name: appgwrule + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + ruleType: Basic + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule + name: appgwPathBasedRule + properties: + httpListener: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener + provisioningState: Succeeded + ruleType: PathBasedRouting + urlPathMap: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + rewriteRuleSets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + name: rewriteRuleSet1 + properties: + provisioningState: Succeeded + rewriteRules: + - actionSet: + requestHeaderConfigurations: + - headerName: X-Forwarded-For + headerValue: "{var_remote-addr}" + responseHeaderConfigurations: + - headerName: Strict-Transport-Security + headerValue: max-age=31536000 + conditions: + - ignoreCase: true + negate: false + pattern: ^Bearer + variable: http_req_Authorization + name: Set X-Forwarded-For + ruleSequence: 102 + sku: + capacity: 3 + name: Standard_Medium + tier: Standard + sslCertificates: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert + name: sslcert + properties: + provisioningState: Succeeded + publicCertData: "*****" + urlPathMaps: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1 + name: pathMap1 + properties: + defaultBackendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + defaultBackendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + defaultRewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + pathRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths + name: apiPaths + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs + paths: + - /api + - /v1/api + provisioningState: Succeeded + rewriteRuleSet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1 + provisioningState: Succeeded + type: Microsoft.Network/applicationGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": + post: + description: Gets the backend health of the specified application gateway in a + resource group. + operationId: ApplicationGateways_BackendHealth + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft + Azure subscription. The subscription ID forms part of the URI for + every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealth" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Get Backend Health: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + resourceGroupName: appgw + subscriptionId: subid + responses: + "200": + body: + backendAddressPools: + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.8 + health: Up + - backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool + backendHttpSettingsCollection: + - backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": + post: + description: Gets the backend health for given combination of backend pool and + http setting of the specified application gateway in a resource group. + operationId: ApplicationGateways_BackendHealthOnDemand + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + - description: Expands BackendAddressPool and BackendHttpSettings referenced in + backend health. + in: query + name: $expand + required: false + type: string + - description: Request body for on-demand test probe operation. + in: body + name: probeRequest + required: true + schema: + $ref: "#/definitions/ApplicationGatewayOnDemandProbe" + responses: + "200": + description: Request successful. + schema: + $ref: "#/definitions/ApplicationGatewayBackendHealthOnDemand" + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Test Backend Health: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + probeRequest: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + path: / + pickHostNameFromBackendHttpSettings: true + protocol: Http + timeout: 30 + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": + body: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool + backendHealthHttpSettings: + backendHttpSettings: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings + servers: + - address: 10.220.1.4 + health: Up + - address: 10.220.1.5 + health: Up + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": + post: + description: Starts the specified application gateway. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation starts the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Start Application Gateway: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": + post: + description: Stops the specified application gateway in a resource group. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/2" + - $ref: "#/paths/~1subscriptions~1%7BsubscriptionId%7D~1resourceGroups~1%7Bresour\ + ceGroupName%7D~1providers~1Microsoft.Network~1applicationGateways~1\ + %7BapplicationGatewayName%7D~1backendhealth/post/parameters/3" + responses: + "200": + description: Request successful. The operation stops the ApplicationGateway + resource. + "202": + description: Accepted and the operation will complete asynchronously. + tags: + - ApplicationGateways + x-ms-examples: + Stop Application Gateway: + parameters: + api-version: 2019-08-01 + applicationGatewayName: appgw + resourceGroupName: rg1 + subscriptionId: subid + responses: + "200": {} + "202": {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ApplicationGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Application gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property + will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will + only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: The type of identity used for the resource. The type + 'SystemAssigned, UserAssigned' includes both an implicitly created + identity and a set of user assigned identities. The type 'None' + will remove any identities from the virtual machine. + enum: + - SystemAssigned + - UserAssigned + - SystemAssigned, UserAssigned + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: "The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the + form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam\ + e}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{id\ + entityName}'." + type: object + properties: + $ref: "#/definitions/ApplicationGatewayPropertiesFormat" + description: Properties of the application gateway. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to + come from. + items: + type: string + type: array + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Authentication certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the authentication certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesForma\ + t" + description: Properties of the application gateway authentication certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Authentication certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayAutoscaleConfiguration: + description: Application Gateway autoscale configuration. + properties: + maxCapacity: + description: Upper bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 2 + type: integer + minCapacity: + description: Lower bound on number of Application Gateway capacity. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + required: + - minCapacity + ApplicationGatewayAvailableRequestHeadersResult: + description: Response for ApplicationGatewayAvailableRequestHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableResponseHeadersResult: + description: Response for ApplicationGatewayAvailableResponseHeaders API service call. + items: + type: string + type: array + ApplicationGatewayAvailableServerVariablesResult: + description: Response for ApplicationGatewayAvailableServerVariables API service call. + items: + type: string + type: array + ApplicationGatewayAvailableSslOptions: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat" + description: Properties of the application gateway available SSL options. + x-ms-client-flatten: true + ApplicationGatewayAvailableSslOptionsPropertiesFormat: + description: Properties of ApplicationGatewayAvailableSslOptions. + properties: + availableCipherSuites: + description: List of available Ssl cipher suites. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + availableProtocols: + description: List of available Ssl protocols. + items: + $ref: "#/definitions/ProtocolsEnum" + type: array + defaultPolicy: + $ref: "#/definitions/PolicyNameEnum" + description: Name of the Ssl predefined policy applied by default to application + gateway. + predefinedPolicies: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayAvailableSslPredefinedPolicies: + description: Response for ApplicationGatewayAvailableSslOptions API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of available Ssl predefined policy. + items: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicy" + type: array + ApplicationGatewayAvailableWafRuleSetsResult: + description: Response for ApplicationGatewayAvailableWafRuleSets API service call. + properties: + value: + description: The list of application gateway rule sets. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSet" + type: array + ApplicationGatewayBackendAddress: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + description: Properties of the application gateway backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + $ref: "#/definitions/ApplicationGatewayBackendAddress" + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayBackendHealth: + description: Response for ApplicationGatewayBackendHealth API service call. + properties: + backendAddressPools: + description: A list of ApplicationGatewayBackendHealthPool resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthPool" + type: array + ApplicationGatewayBackendHealthHttpSettings: + description: Application gateway BackendHealthHttp settings. + properties: + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + description: Reference of an ApplicationGatewayBackendHttpSettings resource. + servers: + description: List of ApplicationGatewayBackendHealthServer resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer" + type: array + ApplicationGatewayBackendHealthOnDemand: + description: Result of on demand test probe. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHealthHttpSettings: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + description: Application gateway BackendHealthHttp settings. + ApplicationGatewayBackendHealthPool: + description: Application gateway BackendHealth pool. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + description: Reference of an ApplicationGatewayBackendAddressPool resource. + backendHttpSettingsCollection: + description: List of ApplicationGatewayBackendHealthHttpSettings resources. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + type: array + ApplicationGatewayBackendHealthServer: + description: Application gateway backendhealth http settings. + properties: + address: + description: IP address or FQDN of backend server. + type: string + health: + description: Health of backend server. + enum: + - Unknown + - Up + - Down + - Partial + - Draining + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayBackendHealthServerHealth + healthProbeLog: + description: Health Probe Log. + type: string + ipConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Backend Address Pool of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend address pool that is unique within an + Application Gateway. + type: string + properties: + description: Properties of Backend Address Pool of an application gateway. + properties: + backendAddresses: + description: Backend addresses. + items: + description: Backend address of an application gateway. + properties: + fqdn: + description: Fully qualified domain name (FQDN). + type: string + ipAddress: + description: IP address. + type: string + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in network interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the backend address pool resource. + type: + description: Type of the resource. + type: string + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkT\ + aps/items/allOf/0" + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the application security group resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the application security group + resource. It uniquely identifies a resource, even if + the user changes its name or migrate the resource + across subscriptions or resource groups. + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of backend + address pools used by the load balancer. This name can + be used to access the resource. + type: string + properties: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: An array of references to IP addresses defined in network + interfaces. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/properties/properties/properties/\ + destinationNetworkInterfaceIPConfiguration" + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this + backend address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRule: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to an outbound rule that uses this backend address + pool. + readOnly: true + outboundRules: + description: An array of references to outbound rules that use this backend + address pool. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the backend address pool resource. + type: + description: Type of the resource. + readOnly: true + type: string + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound + NAT rules used by the load balancer. This name can be + used to access the resource. + type: string + properties: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetw\ + orkTaps/items/properties/properties/properties/dest\ + inationNetworkInterfaceIPConfiguration" + backendPort: + description: The port used for the internal endpoint. Acceptable values range + from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn + Availability Group. This setting is required when + using the SQL AlwaysOn Availability Groups in SQL + server. This setting can't be changed after you + create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or + unexpected connection termination. This element is + only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: A reference to frontend IP addresses. + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must + be unique within the Load Balancer. Acceptable + values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol + is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the inbound NAT rule resource. + type: + description: Type of the resource. + readOnly: true + type: string + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNetworkTap\ + s/items/allOf/0" + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The DDoS custom policy associated with the public IP. + readOnly: false + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be + customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP + address. + properties: + domainNameLabel: + description: The domain name label. The concatenation of the domain name label + and the regionalized DNS zone make up the fully + qualified domain name associated with the public + IP address. If a domain name label is specified, + an A DNS record is created for the public IP in + the Microsoft Azure DNS system. + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with + the public IP. This is the concatenation of the + domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: The reverse FQDN. A user-visible, fully qualified domain name that + resolves to this public IP address. If the + reverseFqdn is specified, then a PTR DNS record is + created pointing from the IP address in the + in-addr.arpa domain to the reverse FQDN. + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/subnet/proper\ + ties/properties/properties/ipConfigurations/items" + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: "The IP tag type. Example: FirstPartyUsage." + type: string + tag: + description: "The value of the IP tag associated with the public IP. Example: + SQL." + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisioningS\ + tate" + description: The provisioning state of the public IP address resource. + publicIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAddr\ + essVersion" + description: The public IP address version. + publicIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/privateIPAllo\ + cationMethod" + description: The public IP address allocation method. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The Public IP Prefix this Public IP Address should be allocated + from. + resourceGuid: + description: The resource GUID property of the public IP address resource. + type: string + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of the subnet. + properties: + addressPrefix: + description: The address prefix for the subnet. + type: string + addressPrefixes: + description: List of address prefixes for the subnet. + items: + type: string + type: array + delegations: + description: An array of references to the delegations on the subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Details the service to which the subnet is delegated. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a subnet. This name + can be used to access the resource. + type: string + properties: + description: Properties of a service delegation. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service delegation resource. + readOnly: true + serviceName: + description: The name of the service to whom the subnet should be delegated + (e.g. Microsoft.Sql/servers). + type: string + type: array + ipConfigurationProfiles: + description: Array of IP configuration profiles which reference this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource. This name can be used to access the + resource. + type: string + properties: + description: IP configuration profile properties. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the IP configuration profile resource. + readOnly: true + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource to create a container network + interface ip configuration. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + ipConfigurations: + description: An array of references to the network interface IP configurations + using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IP configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the IP configuration resource. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the public IP resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + readOnly: true + type: array + natGateway: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Nat gateway associated with this subnet. + networkSecurityGroup: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net/properties/properties/properties/networ\ + kSecurityGroup/properties/properties/proper\ + ties/securityRules/items" + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties\ + /virtualNetworkTaps/items/allOf/0" + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: NetworkInterface properties. + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of + all DNS servers from all NICs + that are part of the + Availability Set. This property + is what is configured on each of + those VMs. + items: + type: string + type: array + dnsServers: + description: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch + to azure provided DNS + resolution. 'AzureProvidedDNS' + value cannot be combined with + other IPs, it must be the only + value in dnsServers collection. + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual + network. + type: string + internalDomainNameSuffix: + description: Even if internalDnsNameLabel is not specified, a DNS entry is + created for the primary NIC of + the VM. This DNS name can be + constructed by concatenating the + VM name with the value of + internalDomainNameSuffix. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between + VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network + interface. + type: boolean + hostedWorkloads: + description: A list of references to linked BareMetal resources. + items: + type: string + readOnly: true + type: array + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationGatewayBackendAddr\ + essPools/items" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/applic\ + ationSecurityGroups/ite\ + ms" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerBackendAddressPoo\ + ls/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/loadBa\ + lancerInboundNatRules/i\ + tems" + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + ddressVersion" + description: Whether the specific IP configuration is IPv4 or IPv6. Default is + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/privateIPA\ + llocationMethod" + description: The private IP address allocation method. + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/provisioni\ + ngState" + description: The provisioning state of the network interface IP configuration. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/publicIPAd\ + dress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/subnet" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/prope\ + rties/properties/virtua\ + lNetworkTaps/items" + type: array + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/networkSecurityGroup" + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Whether this is a primary network interface on a virtual machine. + type: boolean + privateEndpoint: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/subnet/properties/properties/p\ + roperties/privateEndpoints/items" + description: A reference to the private endpoint to which the network interface + is linked. + readOnly: true + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the network interface resource. + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + tapConfigurations: + description: A list of TapConfigurations of the network interface. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to + access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/provisioni\ + ngState" + description: The provisioning state of the network interface tap configuration + resource. + readOnly: true + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/propert\ + ies/properties/virtualNet\ + workTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + type: array + virtualMachine: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of a virtual machine. + readOnly: true + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provi\ + sioningState" + description: The provisioning state of the network security group resource. + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: The destination address prefix. CIDR or destination IP range. + Asterisk '*' can also be used to + match all source IPs. Default tags + such as 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used + to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be + evaluated on incoming or outgoing + traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: The priority of the rule. The value can be between 100 and 4096. + The priority number must be unique + for each rule in the collection. The + lower the priority number, the + higher the priority of the rule. + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - "*" + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the security rule resource. + sourceAddressPrefix: + description: The CIDR or source IP range. Asterisk '*' can also be used to match + all source IPs. Default tags such as + 'VirtualNetwork', + 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an + ingress rule, specifies where + network traffic originates from. + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/applicationSecurityGroups/\ + items" + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to + match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + privateEndpointNetworkPolicies: + description: Enable or Disable apply network policies on private end point in + the subnet. + type: string + privateEndpoints: + description: An array of references to private endpoints. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. Used when the network admin does + not have access to approve connections to + the remote resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/pr\ + ivateEndpoints/items/properties/propertie\ + s/properties/privateLinkServiceConnection\ + s/items" + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this + private endpoint. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet/properties/properties/properties/ne\ + tworkSecurityGroup/properties/properties/\ + properties/networkInterfaces/items" + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote + resource. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that + this private endpoint should + connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection + between service consumer and + provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any + updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed + by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/provisioningState" + description: The provisioning state of the private link service connection + resource. + requestMessage: + description: A message passed to the owner of the remote resource with this + connection request. Restricted to + 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the private endpoint resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The ID of the subnet from which the private IP will be allocated. + readOnly: true + type: array + privateLinkServiceNetworkPolicies: + description: Enable or Disable apply network policies on private link service in + the subnet. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisioningS\ + tate" + description: The provisioning state of the subnet resource. + purpose: + description: A read-only string identifying the intention of use for this subnet + based on delegations and other user-defined + properties. + readOnly: true + type: string + resourceNavigationLinks: + description: An array of references to the external resources using subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ResourceNavigationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + id: + description: Resource navigation link identifier. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ResourceNavigationLink. + properties: + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the resource navigation link resource. + readOnly: true + type: + description: Resource type. + readOnly: true + type: string + type: array + routeTable: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtualNe\ + tworkTaps/items/allOf/0" + description: Route table resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Route Table resource. + properties: + disableBgpRoutePropagation: + description: Whether to disable the routes learned by BGP on that route table. + True means disable. + type: boolean + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provi\ + sioningState" + description: The provisioning state of the route table resource. + routes: + description: Collection of routes contained within a route table. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Route resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Route resource. + properties: + addressPrefix: + description: The destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the + next hop type is VirtualAppliance. + type: string + nextHopType: + description: The type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/proper\ + ties/provisioningState" + description: The provisioning state of the route resource. + type: string + required: + - nextHopType + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + readOnly: true + type: array + serviceAssociationLinks: + description: An array of references to services injecting into this subnet. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: ServiceAssociationLink resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This + name can be used to access the resource. + type: string + properties: + description: Properties of ServiceAssociationLink. + properties: + allowDelete: + description: If true, the resource can be deleted. + type: boolean + link: + description: Link to the external resource. + type: string + linkedResourceType: + description: Resource type of the linked resource. + type: string + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service association link resource. + readOnly: true + type: + description: Resource type. + type: string + type: array + serviceEndpointPolicies: + description: An array of service endpoint policies. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/virtual\ + NetworkTaps/items/allOf/0" + description: Service End point policy resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Service Endpoint Policy resource. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the service endpoint policy resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the service endpoint policy resource. + readOnly: true + type: string + serviceEndpointPolicyDefinitions: + description: A collection of service endpoint policy definitions of the service + endpoint policy. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Service Endpoint policy definitions. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the + resource. + type: string + properties: + description: Service Endpoint policy definition resource. + properties: + description: + description: A description for this rule. Restricted to 140 chars. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/prop\ + erties/provisioningState" + description: The provisioning state of the service endpoint policy definition + resource. + readOnly: true + service: + description: Service endpoint name. + type: string + serviceResources: + description: A list of service resources. + items: + type: string + type: array + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/s\ + ubnet" + readOnly: true + type: array + type: array + serviceEndpoints: + description: An array of service endpoints. + items: + description: The service endpoint properties. + properties: + locations: + description: A list of locations. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisi\ + oningState" + description: The provisioning state of the service endpoint resource. + service: + description: The type of the endpoint service. + type: string + type: array + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Virtual Network Tap resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + properties: + description: Virtual Network Tap properties. + properties: + destinationLoadBalancerFrontEndIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend + IP configurations used by the load balancer. + This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: An array of references to inbound pools that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + inboundNatRules: + description: An array of references to inbound rules that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this + frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + outboundRules: + description: An array of references to outbound rules that use this frontend IP. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Whether the specific ipconfiguration is IPv4 or IPv6. Default is + taken as IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The Private IP allocation method. + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the frontend IP configuration resource. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: The reference of the Public IP resource. + publicIPPrefix: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: The reference of the Public IP Prefix resource. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: The reference of the subnet resource. + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the + resource needs to come from. + items: + type: string + type: array + destinationNetworkInterfaceIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationGatewayBackendAddressPools/item\ + s" + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is + included. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/a\ + pplicationSecurityGroups/items" + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerBackendAddressPools/items" + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/l\ + oadBalancerInboundNatRules/items" + type: array + primary: + description: Whether this is a primary customer address on the network + interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAddressVersion" + description: Whether the specific IP configuration is IPv4 or IPv6. Default is + IPv4. + privateIPAllocationMethod: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pri\ + vateIPAllocationMethod" + description: The private IP address allocation method. + privateLinkConnectionProperties: + description: PrivateLinkConnection properties for the network interface. + properties: + fqdns: + description: List of FQDNs for current private link connection. + items: + type: string + readOnly: true + type: array + groupId: + description: The group ID for current private link connection. + readOnly: true + type: string + requiredMemberName: + description: The required member name for current private link connection. + readOnly: true + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pro\ + visioningState" + description: The provisioning state of the network interface IP configuration. + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/pub\ + licIPAddress" + description: Public IP address bound to the IP configuration. + subnet: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/sub\ + net" + description: Subnet bound to the IP configuration. + virtualNetworkTaps: + description: The reference to Virtual Network Taps. + items: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + type: array + destinationPort: + description: The VXLAN destination port that will receive the tapped traffic. + type: integer + networkInterfaceTapConfigurations: + description: Specifies the list of resource IDs for the network interface IP + configuration that needs to be tapped. + items: + allOf: + - $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/allOf/0" + description: Tap configuration in a Network Interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: The name of the resource that is unique within a resource group. + This name can be used to access the resource. + type: string + properties: + description: Properties of Virtual Network Tap configuration. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/p\ + rovisioningState" + description: The provisioning state of the network interface tap configuration + resource. + readOnly: true + virtualNetworkTap: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/v\ + irtualNetworkTaps/items" + description: The reference of the Virtual Network Tap resource. + type: + description: Sub Resource type. + readOnly: true + type: string + readOnly: true + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayBackendHealthServer/properties/ipConfigu\ + ration/properties/properties/properties/provisionin\ + gState" + description: The provisioning state of the virtual network tap resource. + readOnly: true + resourceGuid: + description: The resource GUID property of the virtual network tap resource. + readOnly: true + type: string + type: array + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Backend address pool settings of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the backend http settings that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + description: Properties of the application gateway backend HTTP settings. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of an application gateway. + properties: + affinityCookieName: + description: Cookie name to use for the affinity cookie. + type: string + authenticationCertificates: + description: Array of references to application gateway authentication certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + connectionDraining: + $ref: "#/definitions/ApplicationGatewayConnectionDraining" + description: Connection draining of the backend http settings resource. + cookieBasedAffinity: + description: Cookie based affinity. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + hostName: + description: Host header to be sent to the backend servers. + type: string + path: + description: Path which should be used as a prefix for all HTTP requests. Null + means no path will be prefixed. Default value is null. + type: string + pickHostNameFromBackendAddress: + description: Whether to pick host header should be picked from the host name of + the backend server. Default value is false. + type: boolean + port: + description: The destination port on the backend. + format: int32 + type: integer + probe: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + probeEnabled: + description: Whether the probe is enabled. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used to communicate with the backend. + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + requestTimeout: + description: Request timeout in seconds. Application Gateway will fail the + request if response is not received within RequestTimeout. Acceptable + values are from 1 second to 86400 seconds. + format: int32 + type: integer + trustedRootCertificates: + description: Array of references to application gateway trusted root certificates. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayConnectionDraining: + description: Connection draining allows open connections to a backend server to + be active for a specified time after the backend server got removed from + the configuration. + properties: + drainTimeoutInSec: + description: The number of seconds connection draining is active. Acceptable + values are from 1 second to 3600 seconds. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 3600 + minimum: 1 + type: integer + enabled: + description: Whether connection draining is enabled or not. + type: boolean + required: + - enabled + - drainTimeoutInSec + ApplicationGatewayCustomError: + description: Customer error of an application gateway. + properties: + customErrorPageUrl: + description: Error page URL of the application gateway customer error. + type: string + statusCode: + description: Status code of the application gateway customer error. + enum: + - HttpStatus403 + - HttpStatus502 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCustomErrorStatusCode + ApplicationGatewayFirewallDisabledRuleGroup: + description: Allows to disable rules within a rule group or an entire rule group. + properties: + ruleGroupName: + description: The name of the rule group that will be disabled. + type: string + rules: + description: The list of rules that will be disabled. If null, all rules of the + rule group will be disabled. + items: + format: int32 + type: integer + x-nullable: false + type: array + required: + - ruleGroupName + ApplicationGatewayFirewallExclusion: + description: Allow to exclude some variable satisfy the condition for the WAF check. + properties: + matchVariable: + description: The variable to be excluded. + type: string + selector: + description: When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + type: string + selectorMatchOperator: + description: When matchVariable is a collection, operate on the selector to + specify which elements in the collection this exclusion applies to. + type: string + required: + - matchVariable + - selectorMatchOperator + - selector + ApplicationGatewayFirewallRule: + description: A web application firewall rule. + properties: + description: + description: The description of the web application firewall rule. + type: string + ruleId: + description: The identifier of the web application firewall rule. + format: int32 + type: integer + required: + - ruleId + ApplicationGatewayFirewallRuleGroup: + description: A web application firewall rule group. + properties: + description: + description: The description of the web application firewall rule group. + type: string + ruleGroupName: + description: The name of the web application firewall rule group. + type: string + rules: + description: The rules of the web application firewall rule group. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRule" + type: array + required: + - ruleGroupName + - rules + ApplicationGatewayFirewallRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGateway/allOf/0" + description: A web application firewall rule set. + properties: + properties: + $ref: "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat" + description: Properties of the application gateway firewall rule set. + x-ms-client-flatten: true + ApplicationGatewayFirewallRuleSetPropertiesFormat: + description: Properties of the web application firewall rule set. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ruleGroups: + description: The rule groups of the web application firewall rule set. + items: + $ref: "#/definitions/ApplicationGatewayFirewallRuleGroup" + type: array + ruleSetType: + description: The type of the web application firewall rule set. + type: string + ruleSetVersion: + description: The version of the web application firewall rule set type. + type: string + required: + - ruleSetType + - ruleSetVersion + - ruleGroups + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend IP configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend IP configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat" + description: Properties of the application gateway frontend IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of an application gateway. + properties: + privateIPAddress: + description: PrivateIPAddress of the network interface IP Configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + publicIPAddress: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayFrontendPort: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Frontend port of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the frontend port that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + description: Properties of the application gateway frontend port. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend port of an application gateway. + properties: + port: + description: Frontend port. + format: int32 + type: integer + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayHeaderConfiguration: + description: Header configuration of the Actions set in Application Gateway. + properties: + headerName: + description: Header name of the header configuration. + type: string + headerValue: + description: Header value of the header configuration. + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Http listener of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the HTTP listener that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + description: Properties of the application gateway HTTP listener. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of HTTP listener of an application gateway. + properties: + customErrorConfigurations: + description: Custom error configurations of the HTTP listener. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + frontendIPConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendPort: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + hostName: + description: Host name of HTTP listener. + type: string + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: Protocol of the HTTP listener. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requireServerNameIndication: + description: Applicable only if protocol is https. Enables SNI for multi-hosting. + type: boolean + sslCertificate: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayIPConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: IP configuration of an application gateway. Currently 1 public and + 1 private IP configuration is allowed. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the IP configuration that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat" + description: Properties of the application gateway IP configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an application gateway. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + subnet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayListResult: + description: Response for ListApplicationGateways API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of an application gateways in a resource group. + items: + $ref: "#/definitions/ApplicationGateway" + type: array + ApplicationGatewayOnDemandProbe: + description: Details of on demand test probe request. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + host: + description: Host name to send the probe to. + type: string + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + ApplicationGatewayPathRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Path rule of URL path map of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the path rule that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat" + description: Properties of the application gateway path rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of path rule of an application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + paths: + description: Path rules of URL path map. + items: + type: string + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + ApplicationGatewayProbe: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Probe of the application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the probe that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayProbePropertiesFormat" + description: Properties of the application gateway probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayProbeHealthResponseMatch: + description: Application gateway probe health response match. + properties: + body: + description: Body that must be contained in the health response. Default value + is empty. + type: string + statusCodes: + description: Allowed ranges of healthy status codes. Default range of healthy + status codes is 200-399. + items: + type: string + type: array + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of an application gateway. + properties: + host: + description: Host name to send the probe to. + type: string + interval: + description: The probing interval in seconds. This is the time interval between + two consecutive probes. Acceptable values are from 1 second to 86400 + seconds. + format: int32 + type: integer + match: + $ref: "#/definitions/ApplicationGatewayProbeHealthResponseMatch" + description: Criterion for classifying a healthy probe response. + minServers: + description: Minimum number of servers that are always marked healthy. Default + value is 0. + format: int32 + type: integer + path: + description: Relative path of probe. Valid path starts from '/'. Probe is sent + to ://:. + type: string + pickHostNameFromBackendHttpSettings: + description: Whether the host header should be picked from the backend http + settings. Default value is false. + type: boolean + port: + description: Custom port which will be used for probing the backend servers. The + valid value ranges from 1 to 65535. In case not set, port from http + settings will be used. This property is valid for Standard_v2 and + WAF_v2 only. + format: int32 + maximum: 65535 + minimum: 1 + type: integer + protocol: + $ref: "#/definitions/ApplicationGatewayProtocol" + description: The protocol used for the probe. + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + timeout: + description: The probe timeout in seconds. Probe marked as failed if valid + response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + format: int32 + type: integer + unhealthyThreshold: + description: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable + values are from 1 second to 20. + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of the application gateway. + properties: + authenticationCertificates: + description: Authentication certificates of the application gateway resource. + For default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayAuthenticationCertificate" + type: array + autoscaleConfiguration: + $ref: "#/definitions/ApplicationGatewayAutoscaleConfiguration" + description: Autoscale Configuration. + backendAddressPools: + description: Backend address pool of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendAddressPool" + type: array + backendHttpSettingsCollection: + description: Backend http settings of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayBackendHttpSettings" + type: array + customErrorConfigurations: + description: Custom error configurations of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayCustomError" + type: array + enableFips: + description: Whether FIPS is enabled on the application gateway resource. + type: boolean + enableHttp2: + description: Whether HTTP2 is enabled on the application gateway resource. + type: boolean + firewallPolicy: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + frontendIPConfigurations: + description: Frontend IP addresses of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendIPConfiguration" + type: array + frontendPorts: + description: Frontend ports of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayFrontendPort" + type: array + gatewayIPConfigurations: + description: Subnets of the application gateway resource. For default limits, + see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayIPConfiguration" + type: array + httpListeners: + description: Http listeners of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayHttpListener" + type: array + operationalState: + description: Operational state of the application gateway resource. + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayProbe" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfigurations: + description: Redirect configurations of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayRedirectConfiguration" + type: array + requestRoutingRules: + description: Request routing rules of the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRule" + type: array + resourceGuid: + description: The resource GUID property of the application gateway resource. + type: string + rewriteRuleSets: + description: Rewrite rules for the application gateway resource. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSet" + type: array + sku: + $ref: "#/definitions/ApplicationGatewaySku" + description: SKU of the application gateway resource. + sslCertificates: + description: SSL certificates of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewaySslCertificate" + type: array + sslPolicy: + $ref: "#/definitions/ApplicationGatewaySslPolicy" + description: SSL policy of the application gateway resource. + trustedRootCertificates: + description: Trusted Root certificates of the application gateway resource. For + default limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificate" + type: array + urlPathMaps: + description: URL path map of the application gateway resource. For default + limits, see [Application Gateway + limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + items: + $ref: "#/definitions/ApplicationGatewayUrlPathMap" + type: array + webApplicationFirewallConfiguration: + $ref: "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration" + description: Web application firewall configuration. + ApplicationGatewayProtocol: + description: Application Gateway protocol. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + ApplicationGatewayRedirectConfiguration: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Redirect configuration of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the redirect configuration that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat" + description: Properties of the application gateway redirect configuration. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRedirectConfigurationPropertiesFormat: + description: Properties of redirect configuration of the application gateway. + properties: + includePath: + description: Include path in the redirected url. + type: boolean + includeQueryString: + description: Include query string in the redirected url. + type: boolean + pathRules: + description: Path rules specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + redirectType: + $ref: "#/definitions/RedirectTypeEnum" + description: HTTP redirection type. + type: string + requestRoutingRules: + description: Request routing specifying redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + targetListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + targetUrl: + description: Url to redirect the request to. + type: string + urlPathMaps: + description: Url path maps specifying default redirect configuration. + items: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Request routing rule of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the request routing rule that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + description: Properties of the application gateway request routing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of request routing rule of the application gateway. + properties: + backendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + backendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + httpListener: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + priority: + description: Priority of the request routing rule. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 20000 + minimum: 1 + type: integer + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + redirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + rewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ruleType: + description: Rule type. + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + ApplicationGatewayRewriteRule: + description: Rewrite rule of an application gateway. + properties: + actionSet: + $ref: "#/definitions/ApplicationGatewayRewriteRuleActionSet" + description: Set of actions to be done as part of the rewrite Rule. + type: object + conditions: + description: Conditions based on which the action set execution will be evaluated. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRuleCondition" + type: array + name: + description: Name of the rewrite rule that is unique within an Application Gateway. + type: string + ruleSequence: + description: Rule Sequence of the rewrite rule that determines the order of + execution of a particular rule in a RewriteRuleSet. + type: integer + ApplicationGatewayRewriteRuleActionSet: + description: Set of actions in the Rewrite Rule in Application Gateway. + properties: + requestHeaderConfigurations: + description: Request Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + responseHeaderConfigurations: + description: Response Header Actions in the Action Set. + items: + $ref: "#/definitions/ApplicationGatewayHeaderConfiguration" + type: array + ApplicationGatewayRewriteRuleCondition: + description: Set of conditions in the Rewrite Rule in Application Gateway. + properties: + ignoreCase: + description: Setting this paramter to truth value with force the pattern to do a + case in-sensitive comparison. + type: boolean + negate: + description: Setting this value as truth will force to check the negation of the + condition given by the user. + type: boolean + pattern: + description: The pattern, either fixed string or regular expression, that + evaluates the truthfulness of the condition. + type: string + variable: + description: The condition parameter of the RewriteRuleCondition. + type: string + ApplicationGatewayRewriteRuleSet: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Rewrite rule set of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + readOnly: true + type: string + name: + description: Name of the rewrite rule set that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat" + description: Properties of the application gateway rewrite rule set. + x-ms-client-flatten: true + ApplicationGatewayRewriteRuleSetPropertiesFormat: + description: Properties of rewrite rule set of the application gateway. + properties: + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + rewriteRules: + description: Rewrite rules in the rewrite rule set. + items: + $ref: "#/definitions/ApplicationGatewayRewriteRule" + type: array + ApplicationGatewaySku: + description: SKU of an application gateway. + properties: + capacity: + description: Capacity (instance count) of an application gateway. + format: int32 + type: integer + name: + description: Name of an application gateway SKU. + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + - WAF_Medium + - WAF_Large + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of an application gateway. + enum: + - Standard + - WAF + - Standard_v2 + - WAF_v2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: SSL certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the SSL certificate that is unique within an Application + Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + description: Properties of the application gateway SSL certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of an application gateway. + properties: + data: + description: Base-64 encoded pfx certificate. Only applicable in PUT Request. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + password: + description: Password for the pfx file specified in data. Only applicable in PUT + request. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + publicCertData: + description: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + type: string + ApplicationGatewaySslPolicy: + description: Application Gateway Ssl policy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order to + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + disabledSslProtocols: + description: Ssl protocols to be disabled on application gateway. + items: + $ref: "#/definitions/ProtocolsEnum" + type: string + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + policyName: + $ref: "#/definitions/PolicyNameEnum" + description: Name of Ssl predefined policy. + policyType: + description: Type of Ssl Policy. + enum: + - Predefined + - Custom + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyType + ApplicationGatewaySslPredefinedPolicy: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: An Ssl predefined policy. + properties: + name: + description: Name of the Ssl predefined policy. + type: string + properties: + $ref: "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat" + description: Properties of the application gateway SSL predefined policy. + x-ms-client-flatten: true + ApplicationGatewaySslPredefinedPolicyPropertiesFormat: + description: Properties of ApplicationGatewaySslPredefinedPolicy. + properties: + cipherSuites: + description: Ssl cipher suites to be enabled in the specified order for + application gateway. + items: + $ref: "#/definitions/CipherSuitesEnum" + type: array + minProtocolVersion: + $ref: "#/definitions/ProtocolsEnum" + description: Minimum version of Ssl protocol to be supported on application gateway. + ApplicationGatewayTrustedRootCertificate: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: Trusted Root certificates of an application gateway. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the trusted root certificate that is unique within an + Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat" + description: Properties of the application gateway trusted root certificate. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayTrustedRootCertificatePropertiesFormat: + description: Trusted Root certificates properties of an application gateway. + properties: + data: + description: Certificate public data. + type: string + keyVaultSecretId: + description: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + type: string + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayUrlPathMap: + allOf: + - $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + description: UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + properties: + etag: + description: A unique read-only string that changes whenever the resource is + updated. + type: string + name: + description: Name of the URL path map that is unique within an Application Gateway. + type: string + properties: + $ref: "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat" + description: Properties of the application gateway URL path map. + x-ms-client-flatten: true + type: + description: Type of the resource. + type: string + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of the application gateway. + properties: + defaultBackendAddressPool: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultBackendHttpSettings: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRedirectConfiguration: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + defaultRewriteRuleSet: + $ref: "#/definitions/ApplicationGatewayPathRulePropertiesFormat/properties/rewr\ + iteRuleSet" + pathRules: + description: Path rule of URL path map resource. + items: + $ref: "#/definitions/ApplicationGatewayPathRule" + type: array + provisioningState: + $ref: "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat/properties/\ + provisioningState" + ApplicationGatewayWebApplicationFirewallConfiguration: + description: Application gateway web application firewall configuration. + properties: + disabledRuleGroups: + description: The disabled rule groups. + items: + $ref: "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + type: array + enabled: + description: Whether the web application firewall is enabled or not. + type: boolean + exclusions: + description: The exclusion list. + items: + $ref: "#/definitions/ApplicationGatewayFirewallExclusion" + type: array + fileUploadLimitInMb: + description: Maximum file upload size in Mb for WAF. + exclusiveMinimum: false + format: int32 + minimum: 0 + type: integer + firewallMode: + description: Web application firewall mode. + enum: + - Detection + - Prevention + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayFirewallMode + maxRequestBodySize: + description: Maximum request body size for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + maxRequestBodySizeInKb: + description: Maximum request body size in Kb for WAF. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 128 + minimum: 8 + type: integer + requestBodyCheck: + description: Whether allow WAF to check request Body. + type: boolean + ruleSetType: + description: "The type of the web application firewall rule set. Possible values + are: 'OWASP'." + type: string + ruleSetVersion: + description: The version of the rule set type. + type: string + required: + - enabled + - firewallMode + - ruleSetType + - ruleSetVersion + CipherSuitesEnum: + description: Ssl cipher suites enums. + enum: + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA + - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 + - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_DHE_RSA_WITH_AES_256_CBC_SHA + - TLS_DHE_RSA_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_AES_256_GCM_SHA384 + - TLS_RSA_WITH_AES_128_GCM_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA256 + - TLS_RSA_WITH_AES_128_CBC_SHA256 + - TLS_RSA_WITH_AES_256_CBC_SHA + - TLS_RSA_WITH_AES_128_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 + - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA + - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 + - TLS_DHE_DSS_WITH_AES_256_CBC_SHA + - TLS_DHE_DSS_WITH_AES_128_CBC_SHA + - TLS_RSA_WITH_3DES_EDE_CBC_SHA + - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA + - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 + - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslCipherSuite + PolicyNameEnum: + description: Ssl predefined policy name enums. + enum: + - AppGwSslPolicy20150501 + - AppGwSslPolicy20170401 + - AppGwSslPolicy20170401S + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslPolicyName + ProtocolsEnum: + description: Ssl protocol enums. + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + RedirectTypeEnum: + description: Redirect type enum. + enum: + - Permanent + - Found + - SeeOther + - Temporary + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRedirectType diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7fbf4cda3f9f65a82d22e9167e94f19b361e736a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-09-01/swagger.yaml @@ -0,0 +1,334 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2017-09-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2017-09-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2017-09-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..af2c3afdb4300fce8421ead71a7db054cd08dcfc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-10-01/swagger.yaml @@ -0,0 +1,334 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2017-10-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2017-10-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2017-10-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4d45eda79576cf9077a72ea2f43b090efed65b47 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2017-11-01/swagger.yaml @@ -0,0 +1,334 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2017-11-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2017-11-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2017-11-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a915bb0d32e6edc03e6cf6d8f2c38f85d94b8f7 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-01-01/swagger.yaml @@ -0,0 +1,334 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-01-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-01-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-01-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..66a4355383131cfc772bf4f95725da5e2312ac24 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-02-01/swagger.yaml @@ -0,0 +1,334 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-02-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-02-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-02-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3be249c53a5ecd84a8c577b20533a402e5c5c359 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-04-01/swagger.yaml @@ -0,0 +1,361 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-04-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-04-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-04-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d7a94a318bb344c5a81c0aa3d697ae6e4d3364f0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-06-01/swagger.yaml @@ -0,0 +1,361 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-06-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-06-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-06-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a48c0fc0bb0348d267693c16828d85628d493c6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-07-01/swagger.yaml @@ -0,0 +1,361 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-07-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-07-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-07-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..542e9facc9ea4176250a51173f67fde8ece879fc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-08-01/swagger.yaml @@ -0,0 +1,361 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-08-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-08-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-08-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..43fd8fc1d9352531c0b3f0ee42f599ea0ef79157 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-10-01/swagger.yaml @@ -0,0 +1,361 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-10-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-10-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-10-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ad301aa4d3654e795776764a1ce89e7fae74cdac --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-11-01/swagger.yaml @@ -0,0 +1,430 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-11-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-11-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2018-11-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-11-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c6f2773091d912b7cd6d7d684e36cb1a29e753eb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2018-12-01/swagger.yaml @@ -0,0 +1,430 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2018-12-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2018-12-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2018-12-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2018-12-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..59f7205d1fb3b40ab864e512440c333f8af069fe --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-02-01/swagger.yaml @@ -0,0 +1,434 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2019-02-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2019-02-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2019-02-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2019-02-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ed2e43fc670b3aa9a275416f622172b4158f4b6d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-04-01/swagger.yaml @@ -0,0 +1,434 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2019-04-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2019-04-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2019-04-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2019-04-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e8945aba5f4f992f111667811d5ee1df84daf8b9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-06-01/swagger.yaml @@ -0,0 +1,434 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2019-06-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2019-06-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2019-06-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2019-06-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b8c1e711f77b29708c98384aa961c04a8d1154a1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-07-01/swagger.yaml @@ -0,0 +1,442 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2019-07-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2019-07-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2019-07-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2019-07-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1a3e0a3d543ca876fdec5121c861a973608ef747 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-applicationSecurityGroup/2019-08-01/swagger.yaml @@ -0,0 +1,442 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/applicationSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-applicationSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all application security groups in a subscription. + operationId: ApplicationSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List all application security groups: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups': + get: + description: Gets all the application security groups in a resource group. + operationId: ApplicationSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of application security group resources. + schema: + $ref: '#/definitions/ApplicationSecurityGroupListResult' + tags: + - ApplicationSecurityGroups + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1 + location: westus + name: asg1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2 + location: westus + name: asg2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}': + delete: + description: Deletes the specified application security group. + operationId: ApplicationSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ApplicationSecurityGroups + x-ms-examples: + Delete application security group: + parameters: + api-version: '2019-08-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified application security group. + operationId: ApplicationSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Get application security group: + parameters: + api-version: '2019-08-01' + applicationSecurityGroupName: test-asg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + patch: + description: Updates an application security group's tags. + operationId: ApplicationSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to update application security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ApplicationSecurityGroup resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - applicationSecurityGroups + x-ms-examples: + Update application security group tags: + parameters: + api-version: '2019-08-01' + applicationSecurityGroupName: test-asg + location: westus + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates an application security group. + operationId: ApplicationSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application security group. + in: path + name: applicationSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update ApplicationSecurityGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + '201': + description: Create successful. The operation returns the resulting application security group resource. + schema: + $ref: '#/definitions/ApplicationSecurityGroup' + tags: + - ApplicationSecurityGroups + x-ms-examples: + Create application security group: + parameters: + api-version: '2019-08-01' + applicationSecurityGroupName: test-asg + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg + location: westus + name: test-asg + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/applicationSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ApplicationSecurityGroupPropertiesFormat' + description: Properties of the application security group. + x-ms-client-flatten: true + ApplicationSecurityGroupListResult: + description: A list of application security groups. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of application security groups. + items: + $ref: '#/definitions/ApplicationSecurityGroup' + type: array + ApplicationSecurityGroupPropertiesFormat: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..186cd1d5fc998c172e35eeafd38fafe8bc519e9c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-08-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2018-08-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2018-08-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: 'The name of the service and resource ' + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..92981792aafbf0dc86bb46a8f853c8eb1f1440eb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-10-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2018-10-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2018-10-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: 'The name of the service and resource ' + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a98eb07f60f57d66635b37cc8bb917d277badcfe --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-11-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2018-11-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2018-11-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: 'The name of the service and resource ' + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5dc479dcf85cd5969d4ba555f845c3c3d67a6f19 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2018-12-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2018-12-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2018-12-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: 'The name of the service and resource ' + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e3f86c57f59928a169763bdc5d76a9791be59b4b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-02-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2019-02-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2019-02-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: 'The name of the service and resource ' + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d8425f17b2ba967c042fb76967afa21efbc781bf --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-04-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2019-04-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2019-04-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..54a5ac2ac08b7c6e40b8a3b7bdae7102e31f523e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-06-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2019-06-01' + location: westcentralus + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2019-06-01' + location: westcentralus + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8252d2ba2a1721644784f6050bdc2ba88edd1232 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-07-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/availableDelegations.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2019-07-01' + location: westcentralus + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2019-07-01' + location: westcentralus + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8a05fc15c90373ffb85ebbd220360ed8426a25bf --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableDelegations/2019-08-01/swagger.yaml @@ -0,0 +1,163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/availableDelegations.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-availableDelegations + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this subscription in this region. + operationId: AvailableDelegations_List + parameters: + - description: The location of the subnet. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations: + parameters: + api-version: '2019-08-01' + location: westcentralus + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations': + get: + description: Gets all of the available subnet delegations for this resource group in this region. + operationId: AvailableResourceGroupDelegations_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the possible delegations for a subnet in this subscription in the region. + schema: + $ref: '#/definitions/AvailableDelegationsResult' + x-ms-examples: + Get available delegations in the resource group: + parameters: + api-version: '2019-08-01' + location: westcentralus + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - actions: + - Microsoft.Network/resource/action + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType + name: Microsoft.Provider.resourceType + serviceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availableDelegations + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableDelegation: + description: The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + properties: + actions: + description: Describes the actions permitted to the service upon delegation. + items: + type: string + type: array + id: + description: A unique identifier of the AvailableDelegation resource. + type: string + name: + description: The name of the AvailableDelegation resource. + type: string + serviceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailableDelegationsResult: + description: An array of available delegations. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available delegations. + items: + $ref: '#/definitions/AvailableDelegation' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableServiceAliases/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableServiceAliases/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..336d47ff8b73fa60c4611bf153a41cb58944c009 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-availableServiceAliases/2019-08-01/swagger.yaml @@ -0,0 +1,161 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/availableServiceAliases.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: network-availableServiceAliases + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases': + get: + description: Gets all available service aliases for this subscription in this region. + operationId: AvailableServiceAliases_List + parameters: + - description: The location. + in: path + name: location + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all available service aliases for the subscription in the region. + schema: + $ref: '#/definitions/AvailableServiceAliasesResult' + x-ms-examples: + Get available service aliases: + parameters: + api-version: '2019-08-01' + location: westcentralus + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure + name: servicesAzure + resourceName: /services/Azure + type: Microsoft.Network/AvailableServiceAliases + - id: /subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance + name: servicesAzureManagedInstance + resourceName: /services/Azure/ManagedInstance + type: Microsoft.Network/AvailableServiceAliases + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases': + get: + description: Gets all available service aliases for this resource group in this region. + operationId: AvailableServiceAliases_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The location. + in: path + name: location + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all available service aliases for the resource group in the region. + schema: + $ref: '#/definitions/AvailableServiceAliasesResult' + x-ms-examples: + Get available service aliases in the resource group: + parameters: + api-version: '2019-08-01' + location: westcentralus + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure + name: servicesAzure + resourceName: /services/Azure + type: Microsoft.Network/AvailableServiceAliases + - id: /subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance + name: servicesAzureManagedInstance + resourceName: /services/Azure/ManagedInstance + type: Microsoft.Network/AvailableServiceAliases + x-ms-pageable: + nextLinkName: nextLink +definitions: + AvailableServiceAlias: + description: The available service alias. + properties: + id: + description: The ID of the service alias. + type: string + name: + description: The name of the service alias. + type: string + resourceName: + description: The resource name of the service alias. + type: string + type: + description: The type of the resource. + type: string + AvailableServiceAliasesResult: + description: An array of available service aliases. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available service aliases. + items: + $ref: '#/definitions/AvailableServiceAlias' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fbbbc5baa73677e9c18f060012154253f8b94be5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-04-01/swagger.yaml @@ -0,0 +1,897 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-04-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-04-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-04-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + internalPublicIpAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetUrls: + description: List of URLs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + internalPublicIpAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of a Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + networkRuleCollections: + description: Collection of network rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..312bcbecd7a447b94c7eddb1faf8a6f417c6ad3b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-06-01/swagger.yaml @@ -0,0 +1,897 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-06-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-06-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-06-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + internalPublicIpAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetUrls: + description: List of URLs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + internalPublicIpAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of a Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + networkRuleCollections: + description: Collection of network rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9b724278297cedc1cc6b503d7e20a6e941e0f174 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-07-01/swagger.yaml @@ -0,0 +1,897 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-07-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-07-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-07-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + internalPublicIpAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetUrls: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: D-NAT-web-traffic + protocols: + - TCP + - ICMP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetUrls: + description: List of URLs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + internalPublicIpAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of a Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + networkRuleCollections: + description: Collection of network rule collections used by a Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d82b8da844df63acf45b0363e7ef571b63bfb918 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-08-01/swagger.yaml @@ -0,0 +1,1101 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-08-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-08-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-08-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses for this rule. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7798b4234a3f6bdc947eb383232531441eb264b6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-10-01/swagger.yaml @@ -0,0 +1,1102 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-10-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-10-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-10-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses for this rule. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6402c28c31e975f4448feea0d3045e6c1b4f9a39 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-11-01/swagger.yaml @@ -0,0 +1,1102 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-11-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-11-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-11-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses for this rule. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + $ref: '#/definitions/ProvisioningState' + description: The provisioning state of the resource. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + ProvisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9379bc0c5446e13a286589a9202c2aeffe1e65ff --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2018-12-01/swagger.yaml @@ -0,0 +1,1155 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2018-12-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2018-12-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2018-12-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + - Alert + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bd37001e4740de25b5dc8e8ad12f23ad7e24a7b8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-02-01/swagger.yaml @@ -0,0 +1,1163 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2019-02-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2019-02-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2019-02-01' + azureFirewallName: azurefirewall + parameters: + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + description: Properties of the azure firewall. + x-ms-client-flatten: true + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + description: Properties of the azure firewall application rule collection. + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + description: Properties of the azure firewall IP configuration. + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + description: Properties of the azure firewall NAT rule collection. + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + description: Properties of the azure firewall network rule collection. + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a5f461f3db797c7a565ef1c2141d7be65852369b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-04-01/swagger.yaml @@ -0,0 +1,1507 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2019-04-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2019-04-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Get Azure Firewall With Zones: + parameters: + api-version: '2019-04-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2019-04-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Create Azure Firewall With Zones: + parameters: + api-version: '2019-04-01' + azureFirewallName: azurefirewall + parameters: + location: West US 2 + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: + - '1' + - '2' + - '3' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + description: Properties of the azure firewall. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to come from. + items: + type: string + type: array + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + description: Properties of the azure firewall application rule collection. + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type. + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + description: Properties of the azure firewall IP configuration. + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection. + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + description: Properties of the azure firewall NAT rule collection. + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection. + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + description: Properties of the azure firewall network rule collection. + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..98c1bd6a1677a33481c2c3938157aa2747c371a0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-06-01/swagger.yaml @@ -0,0 +1,1663 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Get Azure Firewall With Zones: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + patch: + description: Updates tags for an Azure Firewall resource. + operationId: AzureFirewalls_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Update Azure Firewall Tags: + parameters: + api-version: '2019-06-01' + azureFirewallName: fw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: azfwtest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1 + location: brazilsouth + name: fw1 + properties: + provisioningState: Succeeded + threatIntelMode: Alert + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Create Azure Firewall With Zones: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + parameters: + location: West US 2 + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: + - '1' + - '2' + - '3' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + Create Azure Firewall in virtual Hub: + parameters: + api-version: '2019-06-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + description: Properties of the azure firewall. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to come from. + items: + type: string + type: array + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + description: Properties of the azure firewall application rule collection. + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type. + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + description: Properties of the azure firewall IP configuration. + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection. + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + description: Properties of the azure firewall NAT rule collection. + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection. + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + description: Properties of the azure firewall network rule collection. + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + firewallPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hubIpAddresses: + $ref: '#/definitions/HubIPAddresses' + description: IP addresses associated with AzureFirewall. + readOnly: true + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + virtualHub: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallPublicIPAddress: + description: Public IP Address associated with azure firewall. + properties: + address: + description: Public IP Address value. + type: string + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + HubIPAddresses: + description: IP addresses associated with azure firewall. + properties: + privateIPAddress: + description: Private IP Address associated with azure firewall. + type: string + publicIPAddresses: + description: List of Public IP addresses associated with azure firewall. + items: + $ref: '#/definitions/AzureFirewallPublicIPAddress' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0e7bc9a1d301e7f1387a3e7ae06dec6e8e93ada6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-07-01/swagger.yaml @@ -0,0 +1,1664 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/azureFirewall.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Get Azure Firewall With Zones: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + patch: + description: Updates tags for an Azure Firewall resource. + operationId: AzureFirewalls_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Update Azure Firewall Tags: + parameters: + api-version: '2019-07-01' + azureFirewallName: fw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: azfwtest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1 + location: brazilsouth + name: fw1 + properties: + provisioningState: Succeeded + threatIntelMode: Alert + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Create Azure Firewall With Zones: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + parameters: + location: West US 2 + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + threatIntelMode: Alert + tags: + key1: value1 + zones: + - '1' + - '2' + - '3' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + Create Azure Firewall in virtual Hub: + parameters: + api-version: '2019-07-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + description: Properties of the azure firewall. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to come from. + items: + type: string + type: array + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + description: Properties of the azure firewall application rule collection. + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type. + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource. + enum: + - Http + - Https + - Mssql + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + description: Properties of the azure firewall IP configuration. + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection. + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + description: Properties of the azure firewall NAT rule collection. + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection. + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + description: Properties of the azure firewall network rule collection. + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + firewallPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hubIpAddresses: + $ref: '#/definitions/HubIPAddresses' + description: IP addresses associated with AzureFirewall. + readOnly: true + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + virtualHub: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallPublicIPAddress: + description: Public IP Address associated with azure firewall. + properties: + address: + description: Public IP Address value. + type: string + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + HubIPAddresses: + description: IP addresses associated with azure firewall. + properties: + privateIPAddress: + description: Private IP Address associated with azure firewall. + type: string + publicIPAddresses: + description: List of Public IP addresses associated with azure firewall. + items: + $ref: '#/definitions/AzureFirewallPublicIPAddress' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..70759b1a1f6730a0eb43fa96b1f5604585869beb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewall/2019-08-01/swagger.yaml @@ -0,0 +1,1720 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/azureFirewall.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewall + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls': + get: + description: Gets all the Azure Firewalls in a subscription. + operationId: AzureFirewalls_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given subscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls': + get: + description: Lists all Azure Firewalls in a resource group. + operationId: AzureFirewalls_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of AzureFirewall resources. + schema: + $ref: '#/definitions/AzureFirewallListResult' + tags: + - AzureFirewalls + x-ms-examples: + List all Azure Firewalls for a given resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}': + delete: + description: Deletes the specified Azure Firewall. + operationId: AzureFirewalls_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - AzureFirewalls + x-ms-examples: + Delete Azure Firewall: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Azure Firewall. + operationId: AzureFirewalls_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Get Azure Firewall: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Get Azure Firewall With Zones: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + patch: + description: Updates tags for an Azure Firewall resource. + operationId: AzureFirewalls_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Update Azure Firewall Tags: + parameters: + api-version: '2019-08-01' + azureFirewallName: fw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: azfwtest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1 + location: brazilsouth + name: fw1 + properties: + provisioningState: Succeeded + threatIntelMode: Alert + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/azureFirewalls + put: + description: Creates or updates the specified Azure Firewall. + operationId: AzureFirewalls_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Azure Firewall. + in: path + name: azureFirewallName + required: true + type: string + - description: Parameters supplied to the create or update Azure Firewall operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureFirewall' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + '201': + description: Create successful. The operation returns the resulting AzureFirewall resource. + schema: + $ref: '#/definitions/AzureFirewall' + tags: + - AzureFirewalls + x-ms-examples: + Create Azure Firewall: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + Create Azure Firewall With Zones: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + parameters: + location: West US 2 + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - name: azureFirewallIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + zones: + - '1' + - '2' + - '3' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US 2 + name: azurefirewall + properties: + applicationRuleCollections: + - name: apprulecoll + properties: + action: + type: Deny + priority: 110 + rules: + - description: Deny inbound rule + name: rule1 + protocols: + - port: 443 + protocolType: Https + sourceAddresses: + - 216.58.216.164 + - 10.0.0.0/24 + targetFqdns: + - www.test.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration + name: azureFirewallIpConfiguration + properties: + privateIPAddress: 10.0.0.0 + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet + natRuleCollections: + - name: natrulecoll + properties: + action: + type: Dnat + priority: 112 + rules: + - description: D-NAT all outbound web traffic for inspection + destinationAddresses: + - 1.2.3.4 + destinationPorts: + - '443' + name: DNAT-HTTPS-traffic + protocols: + - TCP + sourceAddresses: + - '*' + translatedAddress: 1.2.3.5 + translatedPort: '8443' + networkRuleCollections: + - name: netrulecoll + properties: + action: + type: Deny + priority: 112 + rules: + - description: Block traffic based on source IPs and ports + destinationAddresses: + - '*' + destinationPorts: + - 443-444 + - '8443' + name: L4-traffic + protocols: + - TCP + sourceAddresses: + - 192.168.1.1-192.168.1.12 + - 10.1.4.12-10.1.4.255 + provisioningState: Succeeded + sku: + name: AZFW_VNet + tier: Standard + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: + - '1' + - '2' + - '3' + Create Azure Firewall in virtual Hub: + parameters: + api-version: '2019-08-01' + azureFirewallName: azurefirewall + parameters: + location: West US + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + sku: + name: AZFW_Hub + tier: Standard + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + zones: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + sku: + name: AZFW_Hub + tier: Standard + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + location: West US + name: azurefirewall + properties: + firewallPolicy: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1 + hubIpAddresses: + privateIPAddress: 10.0.0.0 + publicIPAddresses: + - address: 13.73.240.12 + provisioningState: Succeeded + sku: + name: AZFW_Hub + tier: Standard + threatIntelMode: Alert + virtualHub: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1 + tags: + key1: value1 + type: Microsoft.Network/azureFirewalls + zones: [] + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AzureFirewall: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallPropertiesFormat' + description: Properties of the azure firewall. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting where the resource needs to come from. + items: + type: string + type: array + AzureFirewallApplicationRule: + description: Properties of an application rule. + properties: + description: + description: Description of the rule. + type: string + fqdnTags: + description: List of FQDN Tags for this rule. + items: + type: string + type: array + name: + description: Name of the application rule. + type: string + protocols: + description: Array of ApplicationRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule. + items: + type: string + type: array + AzureFirewallApplicationRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Application rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat' + description: Properties of the azure firewall application rule collection. + x-ms-client-flatten: true + AzureFirewallApplicationRuleCollectionPropertiesFormat: + description: Properties of the application rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the application rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a application rule collection. + items: + $ref: '#/definitions/AzureFirewallApplicationRule' + type: array + AzureFirewallApplicationRuleProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000. This field is optional.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/AzureFirewallApplicationRuleProtocolType' + description: Protocol type. + AzureFirewallApplicationRuleProtocolType: + description: The protocol type of a Application Rule resource. + enum: + - Http + - Https + - Mssql + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallApplicationRuleProtocolType + AzureFirewallIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Azure Firewall. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallIPConfigurationPropertiesFormat' + description: Properties of the azure firewall IP configuration. + x-ms-client-flatten: true + AzureFirewallIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Azure Firewall. + properties: + privateIPAddress: + description: The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallListResult: + description: Response for ListAzureFirewalls API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewalls in a resource group. + items: + $ref: '#/definitions/AzureFirewall' + type: array + AzureFirewallNatRCAction: + description: AzureFirewall NAT Rule Collection Action. + properties: + type: + $ref: '#/definitions/AzureFirewallNatRCActionType' + description: The type of action. + AzureFirewallNatRCActionType: + description: The action type of a NAT rule collection. + enum: + - Snat + - Dnat + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNatRCActionType + AzureFirewallNatRule: + description: Properties of a NAT rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: 'List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.' + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the NAT rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + AzureFirewallNatRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: NAT rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNatRuleCollectionProperties' + description: Properties of the azure firewall NAT rule collection. + x-ms-client-flatten: true + AzureFirewallNatRuleCollectionProperties: + description: Properties of the NAT rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallNatRCAction' + description: The action type of a NAT rule collection. + priority: + description: Priority of the NAT rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a NAT rule collection. + items: + $ref: '#/definitions/AzureFirewallNatRule' + type: array + AzureFirewallNetworkRule: + description: Properties of the network rule. + properties: + description: + description: Description of the rule. + type: string + destinationAddresses: + description: List of destination IP addresses. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + name: + description: Name of the network rule. + type: string + protocols: + description: Array of AzureFirewallNetworkRuleProtocols. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + AzureFirewallNetworkRuleCollection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network rule collection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat' + description: Properties of the azure firewall network rule collection. + x-ms-client-flatten: true + AzureFirewallNetworkRuleCollectionPropertiesFormat: + description: Properties of the network rule collection. + properties: + action: + $ref: '#/definitions/AzureFirewallRCAction' + description: The action type of a rule collection. + priority: + description: Priority of the network rule collection resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Collection of rules used by a network rule collection. + items: + $ref: '#/definitions/AzureFirewallNetworkRule' + type: array + AzureFirewallNetworkRuleProtocol: + description: The protocol of a Network Rule resource. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallNetworkRuleProtocol + AzureFirewallPropertiesFormat: + description: Properties of the Azure Firewall. + properties: + applicationRuleCollections: + description: Collection of application rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallApplicationRuleCollection' + type: array + firewallPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + hubIpAddresses: + $ref: '#/definitions/HubIPAddresses' + description: IP addresses associated with AzureFirewall. + readOnly: true + ipConfigurations: + description: IP configuration of the Azure Firewall resource. + items: + $ref: '#/definitions/AzureFirewallIPConfiguration' + type: array + natRuleCollections: + description: Collection of NAT rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNatRuleCollection' + type: array + networkRuleCollections: + description: Collection of network rule collections used by Azure Firewall. + items: + $ref: '#/definitions/AzureFirewallNetworkRuleCollection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sku: + $ref: '#/definitions/AzureFirewallSku' + description: The Azure Firewall Resource SKU. + threatIntelMode: + $ref: '#/definitions/AzureFirewallThreatIntelMode' + description: The operation mode for Threat Intelligence. + virtualHub: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + AzureFirewallPublicIPAddress: + description: Public IP Address associated with azure firewall. + properties: + address: + description: Public IP Address value. + type: string + AzureFirewallRCAction: + description: Properties of the AzureFirewallRCAction. + properties: + type: + $ref: '#/definitions/AzureFirewallRCActionType' + description: The type of action. + AzureFirewallRCActionType: + description: The action type of a rule collection. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallRCActionType + AzureFirewallSku: + description: SKU of an Azure Firewall. + properties: + name: + description: Name of an Azure Firewall SKU. + enum: + - AZFW_VNet + - AZFW_Hub + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallSkuName + tier: + description: Tier of an Azure Firewall. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallSkuTier + AzureFirewallThreatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + HubIPAddresses: + description: IP addresses associated with azure firewall. + properties: + privateIPAddress: + description: Private IP Address associated with azure firewall. + type: string + publicIPAddresses: + description: List of Public IP addresses associated with azure firewall. + items: + $ref: '#/definitions/AzureFirewallPublicIPAddress' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..10f47b3385699ee8ed617396f9c19946d3a61214 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-08-01/swagger.yaml @@ -0,0 +1,142 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5948db92ebb63e7d4fd16ab1e6e7792256ab310d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-10-01/swagger.yaml @@ -0,0 +1,142 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..63e742b6a05e66498a096f0d822293ee3dfb0516 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-11-01/swagger.yaml @@ -0,0 +1,142 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..46acf71fe9e59713518112bca4a87234c9687b5a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2018-12-01/swagger.yaml @@ -0,0 +1,142 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8134c6669db6112198073cc1c18f06139120362d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-02-01/swagger.yaml @@ -0,0 +1,143 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + description: Properties of the azure firewall FQDN tag. + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cc6d5f3eeff811ecf601be552371972f3016935e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-04-01/swagger.yaml @@ -0,0 +1,138 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + description: Properties of the azure firewall FQDN tag. + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties. + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..38ae48a17b088f292f976c6049ff9a43ab2f1e7a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-06-01/swagger.yaml @@ -0,0 +1,138 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + description: Properties of the azure firewall FQDN tag. + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties. + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..dcd57570e569de689f01f46e8b08c975d875eb9d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-07-01/swagger.yaml @@ -0,0 +1,146 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + description: Properties of the azure firewall FQDN tag. + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties. + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8a745cb5eee7b26593e4ad56053da420fb420ffd --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-azureFirewallFqdnTag/2019-08-01/swagger.yaml @@ -0,0 +1,146 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/azureFirewallFqdnTag.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-azureFirewallFqdnTag + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags': + get: + description: Gets all the Azure Firewall FQDN Tags in a subscription. + operationId: AzureFirewallFqdnTags_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Azure Firewall FQDN Tag resources. + schema: + $ref: '#/definitions/AzureFirewallFqdnTagListResult' + tags: + - AzureFirewallFqdnTags + x-ms-examples: + List all Azure Firewall FQDN Tags for a given subscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag + location: West US + name: azfwfqdntag + properties: + fqdnTagName: azfwfqdntag + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/azureFirewallFqdnTags + x-ms-pageable: + nextLinkName: nextLink +definitions: + AzureFirewallFqdnTag: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Azure Firewall FQDN Tag Resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/AzureFirewallFqdnTagPropertiesFormat' + description: Properties of the azure firewall FQDN tag. + x-ms-client-flatten: true + AzureFirewallFqdnTagListResult: + description: Response for ListAzureFirewallFqdnTags API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Azure Firewall FQDN Tags in a resource group. + items: + $ref: '#/definitions/AzureFirewallFqdnTag' + type: array + AzureFirewallFqdnTagPropertiesFormat: + description: Azure Firewall FQDN Tag Properties. + properties: + fqdnTagName: + description: The name of this FQDN Tag. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b275b44b0ddf84e28b191402469457cc406c203c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-04-01/swagger.yaml @@ -0,0 +1,502 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-bastionHost + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a subscription. + operationId: BastionHosts_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Bastion Host resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given subscription: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a resource group. + operationId: BastionHosts_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of BastionHost resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}': + delete: + description: Deletes the specified Bastion Host. + operationId: BastionHosts_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - BastionHosts + x-ms-examples: + Delete Bastion Host: + parameters: + api-version: '2019-04-01' + bastionHostName: bastionhosttenant + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Bastion Host. + operationId: BastionHosts_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an BastionHost resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Get Bastion Host: + parameters: + api-version: '2019-04-01' + bastionHostName: bastionhosttenant' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/bastionHosts + put: + description: Creates or updates the specified Bastion Host. + operationId: BastionHosts_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Parameters supplied to the create or update Bastion Host operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/BastionHost' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + '201': + description: Create successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Create Bastion Host: + parameters: + api-version: '2019-04-01' + bastionHostName: bastionhosttenant' + parameters: + location: West US + properties: + ipConfigurations: + - name: bastionHostIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + BastionHost: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Bastion Host resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/BastionHostPropertiesFormat' + description: Represents the bastion host resource. + x-ms-client-flatten: true + BastionHostIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Bastion Host. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BastionHostIPConfigurationPropertiesFormat' + description: Represents the ip configuration associated with the resource. + x-ms-client-flatten: true + type: + description: Ip configuration type. + readOnly: true + type: string + BastionHostIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Bastion Host. + properties: + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + required: + - subnet + - publicIPAddress + BastionHostListResult: + description: Response for ListBastionHosts API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Bastion Hosts in a resource group. + items: + $ref: '#/definitions/BastionHost' + type: array + BastionHostPropertiesFormat: + description: Properties of the Bastion Host. + properties: + dnsName: + description: FQDN for the endpoint on which bastion host is accessible. + type: string + ipConfigurations: + description: IP configuration of the Bastion Host resource. + items: + $ref: '#/definitions/BastionHostIPConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c5f4078aa429d2ea7efefbb9064220e52a95afb5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-06-01/swagger.yaml @@ -0,0 +1,643 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-bastionHost + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a subscription. + operationId: BastionHosts_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Bastion Host resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given subscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a resource group. + operationId: BastionHosts_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of BastionHost resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}': + delete: + description: Deletes the specified Bastion Host. + operationId: BastionHosts_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - BastionHosts + x-ms-examples: + Delete Bastion Host: + parameters: + api-version: '2019-06-01' + bastionHostName: bastionhosttenant + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Bastion Host. + operationId: BastionHosts_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an BastionHost resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Get Bastion Host: + parameters: + api-version: '2019-06-01' + bastionHostName: bastionhosttenant' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/bastionHosts + patch: + description: Updates bastion host tags. + operationId: BastionHosts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: The resource group name of the BastionHost. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the bastionHost. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Parameters supplied to update a bastion host tags. + in: body + name: bastionHostParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Request successful. Returns the details of the updated bastion host. + schema: + $ref: '#/definitions/BastionHost' + '201': + description: Request received successfully. Returns the details of the updated bastion host. + schema: + $ref: '#/definitions/BastionHost' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - BastionHosts + x-ms-examples: + BastionHostUpdate: + parameters: + api-version: '2019-06-01' + bastionHostName: bastionhosttenant' + bastionHostParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/bastionHosts + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/bastionHosts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified Bastion Host. + operationId: BastionHosts_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Parameters supplied to the create or update Bastion Host operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/BastionHost' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + '201': + description: Create successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Create Bastion Host: + parameters: + api-version: '2019-06-01' + bastionHostName: bastionhosttenant' + parameters: + properties: + ipConfigurations: + - name: bastionHostIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + BastionHost: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Bastion Host resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/BastionHostPropertiesFormat' + description: Represents the bastion host resource. + x-ms-client-flatten: true + BastionHostIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Bastion Host. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BastionHostIPConfigurationPropertiesFormat' + description: Represents the ip configuration associated with the resource. + x-ms-client-flatten: true + type: + description: Ip configuration type. + readOnly: true + type: string + BastionHostIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Bastion Host. + properties: + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + required: + - subnet + - publicIPAddress + BastionHostListResult: + description: Response for ListBastionHosts API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Bastion Hosts in a resource group. + items: + $ref: '#/definitions/BastionHost' + type: array + BastionHostPropertiesFormat: + description: Properties of the Bastion Host. + properties: + dnsName: + description: FQDN for the endpoint on which bastion host is accessible. + type: string + ipConfigurations: + description: IP configuration of the Bastion Host resource. + items: + $ref: '#/definitions/BastionHostIPConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a1681ce0051044604ce57e6aad73195767298980 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-07-01/swagger.yaml @@ -0,0 +1,501 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/bastionHost.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-bastionHost + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a subscription. + operationId: BastionHosts_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Bastion Host resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given subscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a resource group. + operationId: BastionHosts_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of BastionHost resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}': + delete: + description: Deletes the specified Bastion Host. + operationId: BastionHosts_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - BastionHosts + x-ms-examples: + Delete Bastion Host: + parameters: + api-version: '2019-07-01' + bastionHostName: bastionhosttenant + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Bastion Host. + operationId: BastionHosts_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an BastionHost resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Get Bastion Host: + parameters: + api-version: '2019-07-01' + bastionHostName: bastionhosttenant' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/bastionHosts + put: + description: Creates or updates the specified Bastion Host. + operationId: BastionHosts_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Parameters supplied to the create or update Bastion Host operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/BastionHost' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + '201': + description: Create successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Create Bastion Host: + parameters: + api-version: '2019-07-01' + bastionHostName: bastionhosttenant' + parameters: + properties: + ipConfigurations: + - name: bastionHostIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + BastionHost: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Bastion Host resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/BastionHostPropertiesFormat' + description: Represents the bastion host resource. + x-ms-client-flatten: true + BastionHostIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Bastion Host. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BastionHostIPConfigurationPropertiesFormat' + description: Represents the ip configuration associated with the resource. + x-ms-client-flatten: true + type: + description: Ip configuration type. + readOnly: true + type: string + BastionHostIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Bastion Host. + properties: + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + required: + - subnet + - publicIPAddress + BastionHostListResult: + description: Response for ListBastionHosts API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Bastion Hosts in a resource group. + items: + $ref: '#/definitions/BastionHost' + type: array + BastionHostPropertiesFormat: + description: Properties of the Bastion Host. + properties: + dnsName: + description: FQDN for the endpoint on which bastion host is accessible. + type: string + ipConfigurations: + description: IP configuration of the Bastion Host resource. + items: + $ref: '#/definitions/BastionHostIPConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d3e10a57b2c7e3a25d2ff7586c067dc05be52ea1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-bastionHost/2019-08-01/swagger.yaml @@ -0,0 +1,501 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/bastionHost.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-bastionHost + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a subscription. + operationId: BastionHosts_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of Bastion Host resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given subscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts': + get: + description: Lists all Bastion Hosts in a resource group. + operationId: BastionHosts_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of BastionHost resources. + schema: + $ref: '#/definitions/BastionHostListResult' + tags: + - BastionHosts + x-ms-examples: + List all Bastion Hosts for a given resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}': + delete: + description: Deletes the specified Bastion Host. + operationId: BastionHosts_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - BastionHosts + x-ms-examples: + Delete Bastion Host: + parameters: + api-version: '2019-08-01' + bastionHostName: bastionhosttenant + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Bastion Host. + operationId: BastionHosts_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns an BastionHost resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Get Bastion Host: + parameters: + api-version: '2019-08-01' + bastionHostName: bastionhosttenant' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + tags: + key1: value1 + type: Microsoft.Network/bastionHosts + put: + description: Creates or updates the specified Bastion Host. + operationId: BastionHosts_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Bastion Host. + in: path + name: bastionHostName + required: true + type: string + - description: Parameters supplied to the create or update Bastion Host operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/BastionHost' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + '201': + description: Create successful. The operation returns the resulting Bastion Host resource. + schema: + $ref: '#/definitions/BastionHost' + tags: + - BastionHosts + x-ms-examples: + Create Bastion Host: + parameters: + api-version: '2019-08-01' + bastionHostName: bastionhosttenant' + parameters: + properties: + ipConfigurations: + - name: bastionHostIpConfiguration + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant' + location: West US + name: bastionhost' + properties: + dnsName: bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com + ipConfigurations: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration + name: bastionHostIpConfiguration + properties: + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet + type: Microsoft.Network/bastionHosts/bastionHostIpConfigurations + provisioningState: Succeeded + type: Microsoft.Network/bastionHosts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + BastionHost: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Bastion Host resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/BastionHostPropertiesFormat' + description: Represents the bastion host resource. + x-ms-client-flatten: true + BastionHostIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration of an Bastion Host. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BastionHostIPConfigurationPropertiesFormat' + description: Represents the ip configuration associated with the resource. + x-ms-client-flatten: true + type: + description: Ip configuration type. + readOnly: true + type: string + BastionHostIPConfigurationPropertiesFormat: + description: Properties of IP configuration of an Bastion Host. + properties: + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + required: + - subnet + - publicIPAddress + BastionHostListResult: + description: Response for ListBastionHosts API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Bastion Hosts in a resource group. + items: + $ref: '#/definitions/BastionHost' + type: array + BastionHostPropertiesFormat: + description: Properties of the Bastion Host. + properties: + dnsName: + description: FQDN for the endpoint on which bastion host is accessible. + type: string + ipConfigurations: + description: IP configuration of the Bastion Host resource. + items: + $ref: '#/definitions/BastionHostIPConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..856b1b59e7237aba89ca3f4177a3953b9253bb04 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2015-06-15/swagger.yaml @@ -0,0 +1,82 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..aa99a9be488e8253142be082a29f88b299b6abc2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-09-01/swagger.yaml @@ -0,0 +1,82 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f14d7631dcd7d0afd8cc1897c106b0a9b54a8d7c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2016-12-01/swagger.yaml @@ -0,0 +1,82 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..52bfa3d0899592808496126a8cf5e3d8d55e1542 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-03-01/swagger.yaml @@ -0,0 +1,82 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..928085111883d99ea693134049612d8e27ae6aad --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-06-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2017-06-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf77b3dde161f9ed88244000bc73aadd7a4fb5a0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-08-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2017-08-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a48f942ed8ba0753f86625f2447f824614817126 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-09-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2017-09-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1df1c2cec9d5e4817facb4168ad292a83d49c6ca --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-10-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2017-10-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4e38aea11e14a71a5690928715d0d92b37814fa3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2017-11-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2017-11-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8d2c60429f40c62b19d634467afb53f0f42e5626 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-01-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-01-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..69ef29dbf834c9243f159c08b2605c2abfdd6406 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-02-01/swagger.yaml @@ -0,0 +1,93 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-02-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..104b4493cc26a630500d3fc5d383a54d79f61acc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-04-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-04-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..410c97499dfd3041b6c455dcc83ae8ba51ad1e7d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-06-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-06-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9b08f44800ca487f7fd9036aae7b6b66cd38cb70 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-07-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-07-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e0130ecc1aa2e407a4063d8b39f225ad0c3aa38d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-08-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-08-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a951437a422fa533aef26fe353ce8db1b9ceb5e0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-10-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-10-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..31e8edb14b9a0e1036f4a84699eaab07ee11cc7b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-11-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-11-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3584050133cf9c9c7e2d92696ac9389e10966010 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2018-12-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2018-12-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf837174bc10793d85533633e7ee5892d12aead6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-02-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2019-02-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b5d6c7d63dd963dd3d827a6217c4170cbeb4156e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-04-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2019-04-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a568d1c01448fad606c34f5d7dbd78bf63bd5ce --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-06-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2019-06-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4d459bcf59def7a29811d12cc47beed8febd5715 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-07-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2019-07-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..764407db6b920dc6156919739a268d1df5779eaa --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-checkDnsAvailability/2019-08-01/swagger.yaml @@ -0,0 +1,86 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/checkDnsAvailability.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-checkDnsAvailability + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.azure.com zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the DNS name is available. + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + x-ms-examples: + Check Dns Name Availability: + parameters: + api-version: '2019-08-01' + domainNameLabel: testdns + location: westus + subscriptionId: subid + responses: + '200': + body: + available: false +definitions: + DnsNameAvailabilityResult: + description: Response for the CheckDnsNameAvailability API service call. + properties: + available: + description: Domain availability (True/False). + type: boolean diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..66d527f1363e68318a1dbb1bdc25aeff7af4ff91 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-11-01/swagger.yaml @@ -0,0 +1,427 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2018-11-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2018-11-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2018-11-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2018-11-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: westus + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: 'The provisioning state of the DDoS custom policy resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..866d6176d7bb4a59321855e63b5e9e1fd93e8669 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2018-12-01/swagger.yaml @@ -0,0 +1,427 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2018-12-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2018-12-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2018-12-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2018-12-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: westus + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: 'The provisioning state of the DDoS custom policy resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f5c1f7e3a818cec851b29410607756c6ff7e1f2f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-02-01/swagger.yaml @@ -0,0 +1,431 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2019-02-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2019-02-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2019-02-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2019-02-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: westus + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: 'The provisioning state of the DDoS custom policy resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..221219d6dcbacab86722ccc645bb474efe231385 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-04-01/swagger.yaml @@ -0,0 +1,431 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2019-04-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2019-04-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags. + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2019-04-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2019-04-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: westus + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: 'The provisioning state of the DDoS custom policy resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b3abda6120d5ba7d7e61b8cf63f5bbb9ef041d5f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-06-01/swagger.yaml @@ -0,0 +1,431 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2019-06-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2019-06-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags. + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2019-06-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2019-06-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: centraluseuap + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: 'The provisioning state of the DDoS custom policy resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b2f55079ffc03a7aa951d380f490f145e7d661d8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-07-01/swagger.yaml @@ -0,0 +1,439 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2019-07-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2019-07-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags. + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2019-07-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2019-07-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: centraluseuap + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0c5d5bf6347da99a7d03eebf38d374a5188139d0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosCustomPolicy/2019-08-01/swagger.yaml @@ -0,0 +1,439 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/ddosCustomPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosCustomPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}': + delete: + description: Deletes the specified DDoS custom policy. + operationId: DdosCustomPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Delete DDoS custom policy: + parameters: + api-version: '2019-08-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS custom policy. + operationId: DdosCustomPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Get DDoS custom policy: + parameters: + api-version: '2019-08-01' + ddosCustomPolicyName: test-ddos-custom-policy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + provisioningState: Succeeded + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + patch: + description: Update a DDoS custom policy tags. + operationId: DdosCustomPolicies_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the update DDoS custom policy resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + DDoS Custom policy Update tags: + parameters: + api-version: '2019-08-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: westus + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS custom policy. + operationId: DdosCustomPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS custom policy. + in: path + name: ddosCustomPolicyName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosCustomPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + '201': + description: Create successful. The operation returns the resulting DDoS custom policy resource. + schema: + $ref: '#/definitions/DdosCustomPolicy' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/CloudError' + tags: + - ddosCustomPolicies + x-ms-examples: + Create DDoS custom policy: + parameters: + api-version: '2019-08-01' + ddosCustomPolicyName: test-ddos-custom-policy + parameters: + location: centraluseuap + properties: + protocolCustomSettings: + - protocol: Tcp + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy + location: centraluseuap + name: test-ddos-custom-policy + properties: + protocolCustomSettings: + - protocol: Tcp + triggerRateOverride: '20000' + provisioningState: Succeeded + publicIPAddresses: [] + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/ddosCustomPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + CloudError: + description: An error response from the Batch service. + properties: + error: + $ref: '#/definitions/CloudErrorBody' + description: Cloud error body. + x-ms-external: true + CloudErrorBody: + description: An error response from the Batch service. + properties: + code: + description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + type: string + details: + description: A list of additional details about the error. + items: + $ref: '#/definitions/CloudErrorBody' + type: array + message: + description: 'A message describing the error, intended to be suitable for display in a user interface.' + type: string + target: + description: 'The target of the particular error. For example, the name of the property in error.' + type: string + x-ms-external: true + DdosCustomPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS custom policy in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosCustomPolicyPropertiesFormat' + description: Properties of the DDoS custom policy. + x-ms-client-flatten: true + DdosCustomPolicyPropertiesFormat: + description: DDoS custom policy properties. + properties: + protocolCustomSettings: + description: The protocol-specific DDoS policy customization parameters. + items: + $ref: '#/definitions/ProtocolCustomSettingsFormat' + readOnly: false + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddresses: + description: The list of public IPs associated with the DDoS custom policy resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + resourceGuid: + description: 'The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + ProtocolCustomSettingsFormat: + description: DDoS custom policy properties. + properties: + protocol: + description: The protocol for which the DDoS protection policy is being customized. + enum: + - Tcp + - Udp + - Syn + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyProtocol + sourceRateOverride: + description: The customized DDoS protection source rate. + readOnly: false + type: string + triggerRateOverride: + description: The customized DDoS protection trigger rate. + readOnly: false + type: string + triggerSensitivityOverride: + description: 'The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.' + enum: + - Relaxed + - Low + - Default + - High + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosCustomPolicyTriggerSensitivityOverride diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f8e5ae07760404d7404d79b8259de32b75ad6866 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-02-01/swagger.yaml @@ -0,0 +1,358 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-02-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-02-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-02-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c85b9cc4de17d4d3aef38be8387afab940f391ca --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-04-01/swagger.yaml @@ -0,0 +1,383 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-04-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-04-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-04-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1dc05643021c5a86f9492d5b09cb22dcf8090cae --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-06-01/swagger.yaml @@ -0,0 +1,383 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-06-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-06-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-06-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..af82407d985edd6b8b013cab21feb2d5da671bb2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-07-01/swagger.yaml @@ -0,0 +1,383 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-07-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-07-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-07-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7bff8ee4293e9fffe549d3ce4ee639e725c0ede5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-08-01/swagger.yaml @@ -0,0 +1,383 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-08-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-08-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-08-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7e7cc7794e4fb2be7adb4dcb462cfd24134d564a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-10-01/swagger.yaml @@ -0,0 +1,383 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-10-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-10-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-10-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9a2fa04665a7592a90c17fabdff15926529b30b9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-11-01/swagger.yaml @@ -0,0 +1,452 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-11-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-11-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2018-11-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-11-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..505be37a8a8f305108a233aa94faa9c3969d2b73 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2018-12-01/swagger.yaml @@ -0,0 +1,452 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2018-12-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2018-12-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2018-12-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2018-12-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..31f015c79e9dd870e56235cf8fbdb6f773cdfe17 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-02-01/swagger.yaml @@ -0,0 +1,456 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2019-02-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2019-02-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2019-02-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2019-02-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8d8bb77ec5266787d2f2ededdba00000f3156e8a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-04-01/swagger.yaml @@ -0,0 +1,456 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2019-04-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2019-04-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags. + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2019-04-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2019-04-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..852f9e1f794cdb8ad0818fcd429acefb1f16a87e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-06-01/swagger.yaml @@ -0,0 +1,456 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2019-06-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2019-06-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags. + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2019-06-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2019-06-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: 'The provisioning state of the DDoS protection plan resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..45a0995dda17f3082f1b097ed3e6489038fd8174 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-07-01/swagger.yaml @@ -0,0 +1,464 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2019-07-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2019-07-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags. + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2019-07-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2019-07-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ec4b2af95630ac458ebd5f91bd8d59b0aa4589ff --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ddosProtectionPlan/2019-08-01/swagger.yaml @@ -0,0 +1,464 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/ddosProtectionPlan.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ddosProtectionPlan + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all DDoS protection plans in a subscription. + operationId: DdosProtectionPlans_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List all DDoS protection plans: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1 + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3 + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans': + get: + description: Gets all the DDoS protection plans in a resource group. + operationId: DdosProtectionPlans_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of DDoS protection plan resources. + schema: + $ref: '#/definitions/DdosProtectionPlanListResult' + tags: + - DdosProtectionPlans + x-ms-examples: + List DDoS protection plans in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1 + location: westus + name: plan1 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2 + location: westus + name: plan2 + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}': + delete: + description: Deletes the specified DDoS protection plan. + operationId: DdosProtectionPlans_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - DdosProtectionPlans + x-ms-examples: + Delete DDoS protection plan: + parameters: + api-version: '2019-08-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified DDoS protection plan. + operationId: DdosProtectionPlans_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the specified DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Get DDoS protection plan: + parameters: + api-version: '2019-08-01' + ddosProtectionPlanName: test-plan + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet + type: Microsoft.Network/ddosProtectionPlans + patch: + description: Update a DDoS protection plan tags. + operationId: DdosProtectionPlans_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the update DDoS protection plan resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + DDoS protection plan Update tags: + parameters: + api-version: '2019-08-01' + ddosProtectionPlanName: test-plan + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + put: + description: Creates or updates a DDoS protection plan. + operationId: DdosProtectionPlans_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the DDoS protection plan. + in: path + name: ddosProtectionPlanName + required: true + type: string + - description: Parameters supplied to the create or update operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/DdosProtectionPlan' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + '201': + description: Create successful. The operation returns the resulting DDoS protection plan resource. + schema: + $ref: '#/definitions/DdosProtectionPlan' + tags: + - DdosProtectionPlans + x-ms-examples: + Create DDoS protection plan: + parameters: + api-version: '2019-08-01' + ddosProtectionPlanName: test-plan + parameters: + location: westus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan + location: westus + name: test-plan + properties: + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualNetworks: [] + type: Microsoft.Network/ddosProtectionPlans + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosProtectionPlan: + description: A DDoS protection plan in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: Resource ID. + readOnly: true + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + properties: + $ref: '#/definitions/DdosProtectionPlanPropertiesFormat' + description: Properties of the DDoS protection plan. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + DdosProtectionPlanListResult: + description: A list of DDoS protection plans. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of DDoS protection plans. + items: + $ref: '#/definitions/DdosProtectionPlan' + type: array + DdosProtectionPlanPropertiesFormat: + description: DDoS protection plan properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + virtualNetworks: + description: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..22802e156aedf8631035978694819464a02d49a1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-06-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2017-06-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..986e17d4418bd700ba2b44ca2f48d55acb0f3801 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-08-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2017-08-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9c42d548107b12c7b12f1b347ea32f419e23c30b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-09-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2017-09-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..321e0cf85f181e916e82f9b33fc12dcb40913139 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-10-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2017-10-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4df15d6b2dd1dd988f53f52efdaa11c15165cc58 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2017-11-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2017-11-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f91edc5258033f94ff793946ff711c2167baffc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-01-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-01-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..604c9b4af307c043b6d379b96158c82fe5e6d3ff --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-02-01/swagger.yaml @@ -0,0 +1,119 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-02-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f3fa5849d3785f46519af5dff166ee9053ec94bb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-04-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-04-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..61793538d457d82081d0c2ca442ad6e45e0c97b7 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-06-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-06-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bc447c8341c06429a039bd39b9e05f269b15a95c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-07-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-07-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6d6e67a7a187f2eb324d3d5aa07493138af1ad79 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-08-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-08-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7a04f06da37fd44d2f53bd9d42f0a788fd4bc3f4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-10-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-10-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..82f96d49689dbe23433d46f9f2fb53e5505b5f1e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-11-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-11-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b38283c92770b45daedffcbf364d85f156a683d8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2018-12-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2018-12-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..be23066ee1cf80671aee923160a2b18a2a27369e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-02-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2019-02-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..48ac185a36f1fea25390fd9a1f89a31a5991a961 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-04-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2019-04-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..75f2621b7d2fffca23abee15337620f109ee6aa7 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-06-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2019-06-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ae036d96b298ae2a75386056af14b8dee2d24366 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-07-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/endpointService.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2019-07-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1b32c879b356dfe03c7be10d119c9b42fa1e3881 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-endpointService/2019-08-01/swagger.yaml @@ -0,0 +1,114 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/endpointService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-endpointService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices': + get: + description: List what values of endpoint services are available for use. + operationId: AvailableEndpointServices_List + parameters: + - description: The location to check available endpoint services. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns list of available endpoint services. + schema: + $ref: '#/definitions/EndpointServicesListResult' + x-ms-examples: + EndpointServicesList: + parameters: + api-version: '2019-08-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage + name: Microsoft.Storage + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql + name: Microsoft.Sql + type: Microsoft.Network/virtualNetworkEndpointServices + - id: /subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory + name: Microsoft.AzureActiveDirectory + type: Microsoft.Network/virtualNetworkEndpointServices + x-ms-pageable: + nextLinkName: nextLink +definitions: + EndpointServiceResult: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Endpoint service. + properties: + name: + description: Name of the endpoint service. + readOnly: true + type: string + type: + description: Type of the endpoint service. + readOnly: true + type: string + EndpointServicesListResult: + description: Response for the ListAvailableEndpointServices API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: List of available endpoint services in a region. + items: + $ref: '#/definitions/EndpointServiceResult' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0e7da08c677d2d917f737d3cdeb9ef855a03cc11 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2015-06-15/swagger.yaml @@ -0,0 +1,946 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/arpTable': + get: + description: The ListArpTable from ExpressRouteCircuit operation retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/routesTable': + get: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: The ListStats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsStatsListResult' + tags: + - ExpressRouteCircuitStats + x-ms-pageable: + nextLinkName: nextLink +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets peering stats. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + addressPrefix: + description: Gets AddressPrefix. + type: string + asPath: + description: Gets AsPath. + type: string + nextHopIP: + description: Gets NextHopIP. + type: string + nextHopType: + description: Gets NextHopType. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + required: + - nextHopType + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + bytesIn: + description: Gets BytesIn of the peering. + format: int32 + type: integer + bytesOut: + description: Gets BytesOut of the peering. + format: int32 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsStatsListResult: + description: Response for ListStats from Express Route Circuits Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of Stats + items: + $ref: '#/definitions/ExpressRouteCircuitStats' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b2c9109a5cce1e5687611880040cc1ea704d4d5b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-09-01/swagger.yaml @@ -0,0 +1,1068 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets peering stats. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fd4d611e4ed38c22e64cee1a29cdcb3750c8dc9a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2016-12-01/swagger.yaml @@ -0,0 +1,1113 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ce6156cd9c149f6d312008050829382e2f3cf205 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-06-01/swagger.yaml @@ -0,0 +1,1195 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + - Transport + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..82741cfface1e596d407876a87827e2beaeeb107 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-08-01/swagger.yaml @@ -0,0 +1,1194 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e3078f90c15030f075af5edea76ca41b685e0fbf --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-09-01/swagger.yaml @@ -0,0 +1,1268 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2017-09-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int32 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6445bd2516a53eefd4c3d4b4f49e29d80a24f035 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-10-01/swagger.yaml @@ -0,0 +1,1270 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2017-10-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2b24fe44a0232417de161e3d0ba1cc43dbfee15e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2017-11-01/swagger.yaml @@ -0,0 +1,1270 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2017-11-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..29d949deb01654b63ee90eff056fed704de7516e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-01-01/swagger.yaml @@ -0,0 +1,1270 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-01-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..44809d3364efe601212ccce7ead4def0a71d3f23 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-02-01/swagger.yaml @@ -0,0 +1,1635 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-02-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionDelete: + parameters: + api-version: '2018-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9749a6858769f2cf852c5e6e27ba781be6af1947 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-04-01/swagger.yaml @@ -0,0 +1,2423 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-04-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-04-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-04-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-04-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b8542796fcaade53d75b189178fcc1a2c0f789d3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-06-01/swagger.yaml @@ -0,0 +1,2423 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-06-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-06-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-06-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-06-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..109e8205d61eb095fd90ede209813da900367cab --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-07-01/swagger.yaml @@ -0,0 +1,2426 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-07-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-07-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-07-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-07-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + allowGlobalReach: + description: Flag to enable Global Reach on the circuit. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. Possible values are 'Standard' and 'Premium'. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b4b103e1d97266c9c812c381a70ed14487a5bd54 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-08-01/swagger.yaml @@ -0,0 +1,2532 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-08-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2018-08-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-08-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-08-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-08-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + allowGlobalReach: + description: Flag to enable Global Reach on the circuit. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: 'The tier of the SKU. Possible values are ''Standard'', ''Premium'' or ''Basic''.' + enum: + - Standard + - Premium + - Basic + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2fb6caa2825c0705baf92b4df0bdbb3819e6df5c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-10-01/swagger.yaml @@ -0,0 +1,2618 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-10-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2018-10-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-10-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-10-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-10-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2018-10-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-10-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-10-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-10-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-10-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + allowGlobalReach: + description: Flag to enable Global Reach on the circuit. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: 'The tier of the SKU. Possible values are ''Standard'', ''Premium'' or ''Basic''.' + enum: + - Standard + - Premium + - Basic + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a5044ec5f978941c2b7ab602f6424e9c055d4397 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-11-01/swagger.yaml @@ -0,0 +1,2618 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-11-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2018-11-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-11-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-11-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-11-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2018-11-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-11-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-11-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-11-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-11-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + allowGlobalReach: + description: Flag to enable Global Reach on the circuit. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: 'The tier of the SKU. Possible values are ''Standard'', ''Premium'' or ''Basic''.' + enum: + - Standard + - Premium + - Basic + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..838fc97d5ed1e9248c09176c277fbfac505c24ad --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2018-12-01/swagger.yaml @@ -0,0 +1,2934 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2018-12-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2018-12-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-12-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-12-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2018-12-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2018-12-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2018-12-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + readOnly: true + type: array + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + allowGlobalReach: + description: Flag to enable Global Reach on the circuit. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + description: 'The ServiceProviderProvisioningState state of the resource. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned'', and ''Deprovisioning''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: 'The tier of the SKU. Possible values are ''Standard'', ''Premium'' or ''Local''.' + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: 'Express Route Circuit Connection State. Possible values are: ''Connected'' and ''Disconnected''.' + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: circuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ff03cfe7a26a29f3d150460b15e21b5be36cff04 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-02-01/swagger.yaml @@ -0,0 +1,2979 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2019-02-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2019-02-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-02-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-02-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-02-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-02-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2019-02-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + description: Properties of ExpressRouteCircuitAuthorization. + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: 'AuthorizationUseStatus. Possible values are: ''Available'' and ''InUse''.' + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + CircuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + description: Properties of the express route circuit. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + description: Properties of the express route circuit authorization. + x-ms-client-flatten: true + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + description: Properties of the express route circuit peering. + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + description: Properties of the express route circuit peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + readOnly: true + type: array + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + stats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + $ref: '#/definitions/ServiceProviderProvisioningState' + description: The ServiceProviderProvisioningState state of the resource. + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: 'The family of the SKU. Possible values are: ''UnlimitedData'' and ''MeteredData''.' + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: 'The tier of the SKU. Possible values are ''Standard'', ''Premium'' or ''Local''.' + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + description: Properties of the express route service provider. + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ServiceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a0011a93595d7fb6e2be670d6e7668dd32af7b44 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-04-01/swagger.yaml @@ -0,0 +1,2719 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + resourceGuid: 262effd3-248d-4754-9068-0a89260dd918 + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + resourceGuid: 47853fd2-9261-4670-b7c3-2debcf9b88da + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2019-04-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + parameters: + location: West US + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2019-04-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-04-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-04-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/authorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-04-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + routeFilter: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + type: Microsoft.Network/expressRouteCircuits/peerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/peerings/connections + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-04-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2019-04-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primaryBytesIn: 537408 + primaryBytesOut: 44032550 + secondaryBytesIn: 0 + secondaryBytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + description: Properties of ExpressRouteCircuitAuthorization. + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: The authorization use status. + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + CircuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + description: Properties of the express route circuit. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + description: Properties of the express route circuit authorization. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + description: Properties of the express route circuit peering. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + description: Properties of the express route circuit peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + readOnly: true + type: array + peeringType: + $ref: '#/definitions/ExpressRoutePeeringType' + description: The peering type. + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + $ref: '#/definitions/ExpressRoutePeeringState' + description: The peering state. + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets peering stats. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + $ref: '#/definitions/ServiceProviderProvisioningState' + description: The ServiceProviderProvisioningState state of the resource. + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: The family of the SKU. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + description: Properties of the express route service provider. + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the peer express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ServiceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..731e60614050ed8906a368237ad50d02e254c56e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-06-01/swagger.yaml @@ -0,0 +1,2712 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2019-06-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + parameters: + location: Brazil South + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2019-06-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-06-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-06-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/authorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-06-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + routeFilter: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + type: Microsoft.Network/expressRouteCircuits/peerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/peerings/connections + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-06-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2019-06-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + description: Properties of ExpressRouteCircuitAuthorization. + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: The authorization use status. + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + CircuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + description: Properties of the express route circuit. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + description: Properties of the express route circuit authorization. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + description: Properties of the express route circuit peering. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + description: Properties of the express route circuit peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + readOnly: true + type: array + peeringType: + $ref: '#/definitions/ExpressRoutePeeringType' + description: The peering type. + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + $ref: '#/definitions/ExpressRoutePeeringState' + description: The peering state. + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets peering stats. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + $ref: '#/definitions/ServiceProviderProvisioningState' + description: The ServiceProviderProvisioningState state of the resource. + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: The family of the SKU. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + description: Properties of the express route service provider. + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: Gets bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Get a list of peering locations. + items: + type: string + type: array + provisioningState: + description: Gets the provisioning state of the resource. + type: string + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the peer express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Provisioning state of the peer express route circuit connection resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + ServiceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..955338d96870076023cd22e8afc5a86b868d440a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-07-01/swagger.yaml @@ -0,0 +1,2764 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2019-07-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + parameters: + location: Brazil South + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2019-07-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-07-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-07-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/authorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-07-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + routeFilter: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + type: Microsoft.Network/expressRouteCircuits/peerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/peerings/connections + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-07-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2019-07-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + description: Properties of ExpressRouteCircuitAuthorization. + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: The authorization use status. + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + CircuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + description: Properties of the express route circuit. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + description: Properties of the express route circuit authorization. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + description: Properties of the express route circuit peering. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + description: Properties of the express route circuit peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Who was the last to modify the peering. + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + readOnly: true + type: array + peeringType: + $ref: '#/definitions/ExpressRoutePeeringType' + description: The peering type. + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + $ref: '#/definitions/ExpressRoutePeeringState' + description: The peering state. + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: The peering stats of express route circuit. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + $ref: '#/definitions/ServiceProviderProvisioningState' + description: The ServiceProviderProvisioningState state of the resource. + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: The family of the SKU. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: The Primary BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: The primary BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: The secondary BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: The secondary BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the ARP tables. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + description: Properties of the express route service provider. + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: A list of bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: A list of peering locations. + items: + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the peer express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ServiceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5c2b43d7a5a0917a40e5cb7647066069dd75a0d8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCircuit/2019-08-01/swagger.yaml @@ -0,0 +1,2764 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/expressRouteCircuit.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-expressRouteCircuit + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuit resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a subscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: Gets all the available express route service providers. + operationId: ExpressRouteServiceProviders_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteServiceProvider resources. + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-examples: + List ExpressRoute providers: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/ + name: providerName + properties: + bandwidthsOffered: + - offerName: 50Mbps + valueInMbps: 50 + - offerName: 100Mbps + valueInMbps: 100 + - offerName: 200Mbps + valueInMbps: 200 + - offerName: 500Mbps + valueInMbps: 500 + - offerName: 1Gbps + valueInMbps: 1000 + - offerName: 2Gbps + valueInMbps: 2000 + - offerName: 5Gbps + valueInMbps: 5000 + - offerName: 10Gbps + valueInMbps: 10000 + peeringLocations: + - peeringLocation1 + - peeringLocation2 + provisioningState: Succeeded + type: Microsoft.Network/expressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: Gets all the express route circuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-examples: + List ExpressRouteCircuits in a resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1 + location: westus + name: circuitName1 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '113' + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-ed3b-4ceb-b94a-b90b95d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2 + location: westus + name: circuitName2 + properties: + allowClassicOperations: false + authorizations: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2 + name: MyAuthorization2 + properties: + authorizationKey: authkey + authorizationUseStatus: Available + provisioningState: Succeeded + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Succeeded + serviceKey: 6569625a-9ba4-498b-9719-14d778eef609 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: Deletes the specified express route circuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuits + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets information about the specified express route circuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Get ExpressRouteCircuit: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: westus + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: peeringLocation + serviceProviderName: providerName + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + patch: + description: Updates an express route circuit tags. + operationId: ExpressRouteCircuits_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to update express route circuit tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Update Express Route Circuit Tags: + parameters: + api-version: '2019-08-01' + circuitName: er1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: ertest + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + location: brazilsouth + name: er1 + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + gatewayManagerEtag: '' + peerings: [] + provisioningState: Failed + serviceKey: 0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c + serviceProviderProperties: + bandwidthInMbps: 1000 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + put: + description: Creates or updates an express route circuit. + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuit resource. + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-examples: + Create ExpressRouteCircuit: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + parameters: + location: Brazil South + properties: + allowClassicOperations: false + authorizations: [] + peerings: [] + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName + location: Brazil South + name: circuitName + properties: + allowClassicOperations: false + authorizations: [] + circuitProvisioningState: Enabled + peerings: [] + provisioningState: Succeeded + serviceKey: a1410692-0000-4ceb-b94a-b90b94d398d1 + serviceProviderProperties: + bandwidthInMbps: 200 + peeringLocation: Silicon Valley + serviceProviderName: Equinix + serviceProviderProvisioningState: NotProvisioned + sku: + family: MeteredData + name: Standard_MeteredData + tier: Standard + type: Microsoft.Network/expressRouteCircuits + Create ExpressRouteCircuit on ExpressRoutePort: + parameters: + api-version: '2019-08-01' + circuitName: expressRouteCircuit1 + parameters: + location: westus + properties: + bandwidthInGbps: 10 + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + resourceGroupName: rg1 + subscriptionId: subid + type: Microsoft.Network/expressRouteCircuits + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1 + location: westus + name: expressRouteCircuit1 + properties: + allowClassicOperations: false + authorizations: [] + bandwidthInGbps: 10 + circuitProvisioningState: Enabled + expressRoutePort: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + gatewayManagerEtag: '20' + peerings: [] + provisioningState: Succeeded + serviceKey: d281f746-ee01-4d00-8b0a-edec4833772b + serviceProviderProvisioningState: Provisioned + sku: + family: MeteredData + name: Premium_MeteredData + tier: Premium + type: Microsoft.Network/expressRouteCircuits + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: Gets all authorizations in an express route circuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources. + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + List ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: Deletes the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Delete ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-08-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified authorization from the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Get ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-08-01' + authorizationName: authorizationName + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e33c875f-48df-4a91-b7d3-eb95b5ddbb89" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1 + name: MyAuthorization1 + properties: + authorizationKey: authKey + authorizationUseStatus: Available + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/authorizations + put: + description: Creates or updates an authorization in the specified express route circuit. + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit authorization operation. + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-examples: + Create ExpressRouteCircuit Authorization: + parameters: + api-version: '2019-08-01' + authorizationName: authorizatinName + authorizationParameters: + properties: + authorizationKey: authKey + authorizationUseStatus: Available + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + '201': + body: + etag: W/"e22dd4b2-4c24-44cf-b702-70a472b62914" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName + name: authorizationName + properties: + authorizationUseStatus: Available + provisioningState: Updating + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: Gets all peerings in a specified express route circuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + List ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + - etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '103' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 100 + peeringType: AzurePrivatePeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 10.0.0.0/30 + provisioningState: Succeeded + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 10.0.0.4/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the specified express route circuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Delete ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the express route circuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Get ExpressRouteCircuit Peering: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + peeringName: MicrosoftPeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering + name: MicrosoftPeering + properties: + azureASN: 12076 + gatewayManagerEtag: '103' + ipv6PeeringConfig: + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - '3FFE:FFFF:0:CD31::/120' + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + microsoftPeeringConfig: + advertisedCommunities: [] + advertisedPublicPrefixes: + - 123.1.0.0/24 + advertisedPublicPrefixesState: ValidationNeeded + customerASN: 23 + legacyMode: 0 + routingRegistryName: ARIN + peerASN: 100 + peeringType: MicrosoftPeering + primaryAzurePort: A51-TEST-06GMR-CIS-1-PRI-A + primaryPeerAddressPrefix: 123.0.0.0/30 + provisioningState: Succeeded + routeFilter: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName + secondaryAzurePort: A51-TEST-06GMR-CIS-2-SEC-A + secondaryPeerAddressPrefix: 123.0.0.4/30 + state: Enabled + vlanId: 300 + type: Microsoft.Network/expressRouteCircuits/peerings + put: + description: Creates or updates a peering in the specified express route circuits. + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-examples: + Create ExpressRouteCircuit Peerings: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + peeringName: AzurePrivatePeering + peeringParameters: + properties: + azureASN: 12076 + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: '' + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + expressRouteConnection: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitArpTable + x-ms-examples: + List ARP Table: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: IPAddress + macAddress: macAddress + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections': + get: + description: Gets all global reach connections associated with a private peering in an express route circuit. + operationId: ExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnectionListResult' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + List ExpressRouteCircuit Connection: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR + name: circuitConnectionUSEUR + properties: + addressPrefix: 20.0.0.0/24 + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}': + delete: + description: Deletes the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + Delete ExpressRouteCircuit: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Express Route Circuit Connection from the specified express route circuit. + operationId: ExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + type: Microsoft.Network/expressRouteCircuits/peerings/connections + put: + description: Creates or updates a Express Route Circuit Connection in the specified express route circuits. + operationId: ExpressRouteCircuitConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Parameters supplied to the create or update express route circuit connection operation. + in: body + name: expressRouteCircuitConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitConnection' + tags: + - ExpressRouteCircuitConnections + x-ms-examples: + ExpressRouteCircuitConnectionCreate: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: circuitConnectionUSAUS + expressRouteCircuitConnectionParameters: + properties: + addressPrefix: 10.0.0.0/29 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + type: Microsoft.Network/expressRouteCircuits/peerings/connections + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS + name: circuitConnectionUSAUS + properties: + addressPrefix: 10.0.0.0/24 + authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a + circuitConnectionStatus: Connected + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections': + get: + description: Gets all global reach peer connections associated with a private peering in an express route circuit. + operationId: PeerExpressRouteCircuitConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionListResult' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + List Peer ExpressRouteCircuit Connection: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + value: + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + - etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e + name: c8b17193-8dd3-4f61-866d-8cdd2e2e268e + properties: + addressPrefix: 30.0.0.0/29 + authResourceGuid: 64283012-d377-421d-8398-f6aeb2ac7ea0 + circuitConnectionStatus: Connected + connectionName: circuitConnectionCentralusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}': + get: + description: Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. + operationId: PeerExpressRouteCircuitConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The name of the peer express route circuit connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource. + schema: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + tags: + - PeerExpressRouteCircuitConnections + x-ms-examples: + PeerExpressRouteCircuitConnectionGet: + parameters: + api-version: '2019-08-01' + circuitName: ExpressRouteARMCircuitA + connectionName: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + peeringName: AzurePrivatePeering + resourceGroupName: rg1 + subscriptionId: subid1 + responses: + '200': + body: + etag: W/"6ffbbb06-da20-44ca-a34f-280c4653b1e9" + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013 + name: 60aee347-e889-4a42-8c1b-0aae8b1e4013 + properties: + addressPrefix: 20.0.0.0/29 + authResourceGuid: '' + circuitConnectionStatus: Connected + connectionName: circuitConnectionWestusEastus + expressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering + peerExpressRouteCircuitPeering: + id: /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTable + x-ms-examples: + List Route Tables: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: '' + nextHop: '' + path: '' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-examples: + List Route Table Summary: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + devicePath: devicePath + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - as: 9583 + neighbor: 100.65.171.1 + statePfxRcd: Idle + upDown: never + v: 4 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: Gets all stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Peering Traffic Stats: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + peeringName: peeringName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: Gets all the stats from an express route circuit in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCircuitStats resource. + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + x-ms-examples: + Get ExpressRoute Circuit Traffic Stats: + parameters: + api-version: '2019-08-01' + circuitName: circuitName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + primarybytesIn: 537408 + primarybytesOut: 44032550 + secondarybytesIn: 0 + secondarybytesOut: 39002500 +definitions: + AuthorizationListResult: + description: Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The authorizations in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + description: Properties of ExpressRouteCircuitAuthorization. + properties: + authorizationKey: + description: The authorization key. + type: string + authorizationUseStatus: + description: The authorization use status. + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + CircuitConnectionStatus: + description: Express Route Circuit connection state. + enum: + - Connected + - Connecting + - Disconnected + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: CircuitConnectionStatus + ExpressRouteCircuit: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + description: Properties of the express route circuit. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: The SKU. + ExpressRouteCircuitArpTable: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Authorization in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + description: Properties of the express route circuit authorization. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitConnectionListResult: + description: Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + ExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authorizationKey: + description: The authorization key. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteCircuits in a resource group. + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRouteCircuit resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + description: Properties of the express route circuit peering. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The peerings in an express route circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + description: Properties of the express route circuit peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + type: integer + connections: + description: The list of circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/ExpressRouteCircuitConnection' + type: array + expressRouteConnection: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + $ref: '#/definitions/Ipv6ExpressRouteCircuitPeeringConfig' + description: The IPv6 peering configuration. + lastModifiedBy: + description: Who was the last to modify the peering. + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeredConnections: + description: The list of peered circuit connections associated with Azure Private Peering for this circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + readOnly: true + type: array + peeringType: + $ref: '#/definitions/ExpressRoutePeeringType' + description: The peering type. + primaryAzurePort: + description: The primary port. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryAzurePort: + description: The secondary port. + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + $ref: '#/definitions/ExpressRoutePeeringState' + description: The peering state. + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: The peering stats of express route circuit. + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit. + properties: + allowClassicOperations: + description: Allow classic operations. + type: boolean + authorizations: + description: The list of authorizations. + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + bandwidthInGbps: + description: The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. + type: number + circuitProvisioningState: + description: The CircuitProvisioningState state of the resource. + type: string + expressRoutePort: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + globalReachEnabled: + description: Flag denoting Global reach status. + type: boolean + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + serviceKey: + description: The ServiceKey. + type: string + serviceProviderNotes: + description: The ServiceProviderNotes. + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: The ServiceProviderProperties. + serviceProviderProvisioningState: + $ref: '#/definitions/ServiceProviderProvisioningState' + description: The ServiceProviderProvisioningState state of the resource. + stag: + description: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + format: int32 + readOnly: true + type: integer + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of the neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit. + properties: + bandwidthInMbps: + description: The BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: The peering location. + type: string + serviceProviderName: + description: The serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains SKU in an ExpressRouteCircuit. + properties: + family: + description: The family of the SKU. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: The name of the SKU. + type: string + tier: + description: The tier of the SKU. + enum: + - Standard + - Premium + - Basic + - Local + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains stats associated with the peering. + properties: + primarybytesIn: + description: The Primary BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: The primary BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: The secondary BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: The secondary BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the ARP tables. + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRoutePeeringState: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + ExpressRoutePeeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + ExpressRouteServiceProvider: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A ExpressRouteResourceProvider object. + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + description: Properties of the express route service provider. + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains bandwidths offered in ExpressRouteServiceProvider resources. + properties: + offerName: + description: The OfferName. + type: string + valueInMbps: + description: The ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for the ListExpressRouteServiceProvider API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRouteResourceProvider resources. + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider. + properties: + bandwidthsOffered: + description: A list of bandwidths offered. + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: A list of peering locations. + items: + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + Ipv6ExpressRouteCircuitPeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: The Microsoft peering configuration. + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + PeerExpressRouteCircuitConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat' + description: Properties of the peer express route circuit connection. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + PeerExpressRouteCircuitConnectionListResult: + description: Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + items: + $ref: '#/definitions/PeerExpressRouteCircuitConnection' + type: array + PeerExpressRouteCircuitConnectionPropertiesFormat: + description: Properties of the peer express route circuit connection. + properties: + addressPrefix: + description: /29 IP address space to carve out Customer addresses for tunnels. + type: string + authResourceGuid: + description: The resource guid of the authorization used for the express route circuit connection. + type: string + circuitConnectionStatus: + $ref: '#/definitions/CircuitConnectionStatus' + description: Express Route Circuit connection state. + connectionName: + description: The name of the express route circuit connection resource. + type: string + expressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + peerExpressRouteCircuitPeering: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ServiceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5b71ab88448339286199cb150db1c2eb261d6bec --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-02-01/swagger.yaml @@ -0,0 +1,1094 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-02-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-02-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-02-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-02-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-02-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Age + format: int32 + type: integer + interface: + description: Interface + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf + type: string + network: + description: network + type: string + nextHop: + description: nextHop + type: string + path: + description: path + type: string + weight: + description: weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..35eaedc70127602d415a724cfa558b5ce1e9084a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-04-01/swagger.yaml @@ -0,0 +1,1175 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-04-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-04-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-04-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-04-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-04-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bcd06e483365b6817bdc0472e759a227f4b9cf87 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-06-01/swagger.yaml @@ -0,0 +1,1175 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-06-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-06-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-06-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-06-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-06-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2233e5bc167ab88f52b61fac8cff0dc39415488d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-07-01/swagger.yaml @@ -0,0 +1,1175 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-07-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-07-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-07-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-07-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-07-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e543dda42ca3a0d705a2a247ce3b4edcee5652db --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-08-01/swagger.yaml @@ -0,0 +1,1194 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-08-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-08-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-08-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-08-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-08-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..070437f6b9760dd021774db28186e676dc64c052 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-10-01/swagger.yaml @@ -0,0 +1,1194 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-10-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-10-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-10-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-10-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-10-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-10-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-10-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-10-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-10-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-10-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-10-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..769d6da99d0a5d24a0823ea298f628eedd8de398 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-11-01/swagger.yaml @@ -0,0 +1,1194 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-11-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-11-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-11-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-11-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-11-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-11-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-11-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-11-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-11-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-11-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-11-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5c4e261741c282890a99660699a66f54c35432ea --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2018-12-01/swagger.yaml @@ -0,0 +1,1194 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2018-12-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2018-12-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2018-12-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2018-12-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2018-12-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-12-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2018-12-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2018-12-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2018-12-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2018-12-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2018-12-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitReference: + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: 'The provisioning state of the circuit in the connectivity provider system. Possible values are ''NotProvisioned'', ''Provisioning'', ''Provisioned''.' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ed08e35a4c2cd565c66b239516c2f9dd482bf418 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-02-01/swagger.yaml @@ -0,0 +1,1210 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit. ' + title: ExpressRouteCrossConnection REST APIs + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2019-02-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2019-02-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2019-02-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2019-02-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2019-02-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2019-02-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes + format: int32 + type: integer + interface: + description: Interface address + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2019-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command + type: string + network: + description: IP address of a network entity + type: string + nextHop: + description: NextHop address + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2019-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2019-02-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ExpressRouteCircuitReference: + description: Reference to an express route circuit. + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + description: Properties of the express route cross connection. + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + description: Properties of the express route cross connection peering. + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + description: Properties of express route cross connection peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + $ref: './routeFilter.json#/definitions/RouteFilter' + description: The reference of the RouteFilter resource. + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'AdvertisedPublicPrefixState of the Peering resource. Possible values are ''NotConfigured'', ''Configuring'', ''Configured'', and ''ValidationNeeded''.' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: 'The PeeringType. Possible values are: ''AzurePublicPeering'', ''AzurePrivatePeering'', and ''MicrosoftPeering''.' + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: 'The state of peering. Possible values are: ''Disabled'' and ''Enabled''' + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..05cb0fc32782e4c8609511777395e7426d4b8254 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-04-01/swagger.yaml @@ -0,0 +1,1214 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit.' + title: ExpressRouteCrossConnection REST APIs + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2019-04-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2019-04-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2019-04-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2019-04-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2019-04-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2019-04-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2019-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2019-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2019-04-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ExpressRouteCircuitReference: + description: Reference to an express route circuit. + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + description: Properties of the express route cross connection. + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + description: Properties of the express route cross connection peering. + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + description: Properties of express route cross connection peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit. + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router. + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..47edf42613ee5da955f92ff7070918f00326be4d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-06-01/swagger.yaml @@ -0,0 +1,1214 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit.' + title: ExpressRouteCrossConnection REST APIs + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2019-06-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2019-06-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2019-06-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2019-06-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2019-06-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2019-06-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: Gets list of the ARP table. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2019-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2019-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2019-06-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ExpressRouteCircuitReference: + description: Reference to an express route circuit. + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + description: Properties of the express route cross connection. + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + description: Properties of the express route cross connection peering. + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + description: Properties of express route cross connection peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit. + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router. + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bf13908937c0fd272936cc2be3197714b1f8d719 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-07-01/swagger.yaml @@ -0,0 +1,1230 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit.' + title: ExpressRouteCrossConnection REST APIs + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2019-07-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2019-07-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2019-07-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2019-07-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2019-07-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2019-07-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the ARP tables. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2019-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2019-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2019-07-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ExpressRouteCircuitReference: + description: Reference to an express route circuit. + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + description: Properties of the express route cross connection. + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + description: Properties of the express route cross connection peering. + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + description: Properties of express route cross connection peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Who was the last to modify the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit. + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router. + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9ba1c326d3a146fd2c1281dba5982534cafe4ac8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteCrossConnection/2019-08-01/swagger.yaml @@ -0,0 +1,1230 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: 'The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer''s ExpressRoute circuit.' + title: ExpressRouteCrossConnection REST APIs + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/expressRouteCrossConnection.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-expressRouteCrossConnection + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a subscription. + operationId: ExpressRouteCrossConnections_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionList: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections': + get: + description: Retrieves all the ExpressRouteCrossConnections in a resource group. + operationId: ExpressRouteCrossConnections_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionListResult' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + ExpressRouteCrossConnectionListByResourceGroup: + parameters: + api-version: '2019-08-01' + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}': + get: + description: Gets details about the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_Get + parameters: + - description: The name of the resource group (peering location of the circuit). + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection (service key of the circuit). + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + GetExpressRouteCrossConnection: + parameters: + api-version: '2019-08-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + patch: + description: Updates an express route cross connection tags. + operationId: ExpressRouteCrossConnections_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the cross connection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to update express route cross connection tags. + in: body + name: crossConnectionParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnectionTags: + parameters: + api-version: '2019-08-01' + crossConnectionName: + crossConnectionParameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: er1 + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Failed + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + put: + description: Update the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Parameters supplied to the update express route crossConnection operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnection resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnection' + tags: + - ExpressRouteCrossConnections + x-ms-examples: + UpdateExpressRouteCrossConnection: + parameters: + api-version: '2019-08-01' + crossConnectionName: + parameters: + properties: + serviceProviderProvisioningState: NotProvisioned + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/ + location: brazilsouth + name: + properties: + bandwidthInMbps: 1000 + expressRouteCircuit: + id: /subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1 + peeringLocation: SiliconValley + peerings: [] + primaryAzurePort: bvtazureixp01 + provisioningState: Enabled + sTag: 2 + secondaryAzurePort: bvtazureixp01 + serviceProviderProvisioningState: NotProvisioned + type: Microsoft.Network/expressRouteCrossConnections + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings': + get: + description: Gets all peerings in a specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringList' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringList: + parameters: + api-version: '2019-08-01' + crossConnectionName: + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}': + delete: + description: Deletes the specified peering from the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + DeleteExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified peering for the ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + GetExpressRouteCrossConnectionBgpPeering: + parameters: + api-version: '2019-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + put: + description: Creates or updates a peering in the specified ExpressRouteCrossConnection. + operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + '201': + description: Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + tags: + - ExpressRouteCrossConnectionPeerings + x-ms-examples: + ExpressRouteCrossConnectionBgpPeeringCreate: + parameters: + api-version: '2019-08-01' + crossConnectionName: + peeringName: AzurePrivatePeering + peeringParameters: + properties: + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + peerASN: 200 + primaryPeerAddressPrefix: 192.168.16.252/30 + secondaryPeerAddressPrefix: 192.168.18.252/30 + vlanId: 200 + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + '201': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering + name: AzurePrivatePeering + properties: + azureASN: 12076 + gatewayManagerEtag: '' + ipv6PeeringConfig: + primaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::/126' + secondaryPeerAddressPrefix: '3FFE:FFFF:0:CD30::4/126' + state: Enabled + lastModifiedBy: Customer + peerASN: 200 + peeringType: AzurePrivatePeering + primaryAzurePort: '' + primaryPeerAddressPrefix: 192.168.16.252/30 + provisioningState: Succeeded + secondaryAzurePort: '' + secondaryPeerAddressPrefix: 192.168.18.252/30 + state: Enabled + vlanId: 200 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: Gets the currently advertised ARP table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource. + schema: + description: Response for ListArpTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of the ARP tables. + items: + description: The ARP table associated with the ExpressRouteCircuit. + properties: + age: + description: Entry age in minutes. + format: int32 + type: integer + interface: + description: Interface address. + type: string + ipAddress: + description: The IP address. + type: string + macAddress: + description: The MAC address. + type: string + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionArpTable + x-ms-examples: + GetExpressRouteCrossConnectionsArpTable: + parameters: + api-version: '2019-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - age: 0 + interface: Microsoft + ipAddress: 192.116.14.254 + macAddress: 885a.9269.9110 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: Gets the currently advertised routes table associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource. + schema: + description: Response for ListRoutesTable associated with the Express Route Circuits API. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of routes table. + items: + description: The routes table associated with the ExpressRouteCircuit. + properties: + locPrf: + description: Local preference value as set with the set local-preference route-map configuration command. + type: string + network: + description: IP address of a network entity. + type: string + nextHop: + description: NextHop address. + type: string + path: + description: Autonomous system paths to the destination network. + type: string + weight: + description: Route Weight. + format: int32 + type: integer + type: array + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTable + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTable: + parameters: + api-version: '2019-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - locPrf: '' + network: 10.6.0.0/16 + nextHop: 10.6.1.12 + path: '65514' + weight: 0 + - locPrf: '' + network: 10.7.0.0/16 + nextHop: 10.7.1.13 + path: '65514' + weight: 0 + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: Gets the route table summary associated with the express route cross connection in a resource group. + operationId: ExpressRouteCrossConnections_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRouteCrossConnection. + in: path + name: crossConnectionName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource. + schema: + $ref: '#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - ExpressRouteCrossConnectionRouteTableSummary + x-ms-examples: + GetExpressRouteCrossConnectionsRouteTableSummary: + parameters: + api-version: '2019-08-01' + crossConnectionName: + devicePath: primary + peeringName: AzurePrivatePeering + resourceGroupName: CrossConnection-SiliconValley + subscriptionId: subid + responses: + '200': + body: + value: + - asn: 65514 + neighbor: 10.6.1.112 + stateOrPrefixesReceived: Active + upDown: 1d14h + - asn: 65514 + neighbor: 10.6.1.113 + stateOrPrefixesReceived: '1' + upDown: 1d14h + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ExpressRouteCircuitReference: + description: Reference to an express route circuit. + properties: + id: + description: Corresponding Express Route Circuit Id. + type: string + ExpressRouteCrossConnection: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRouteCrossConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionProperties' + description: Properties of the express route cross connection. + x-ms-client-flatten: true + ExpressRouteCrossConnectionListResult: + description: Response for ListExpressRouteCrossConnection API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ExpressRouteCrossConnection resources. + items: + $ref: '#/definitions/ExpressRouteCrossConnection' + type: array + ExpressRouteCrossConnectionPeering: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Peering in an ExpressRoute Cross Connection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteCrossConnectionPeeringProperties' + description: Properties of the express route cross connection peering. + x-ms-client-flatten: true + ExpressRouteCrossConnectionPeeringList: + description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: The peerings in an express route cross connection. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + ExpressRouteCrossConnectionPeeringProperties: + description: Properties of express route cross connection peering. + properties: + azureASN: + description: The Azure ASN. + format: int32 + readOnly: true + type: integer + gatewayManagerEtag: + description: The GatewayManager Etag. + type: string + ipv6PeeringConfig: + description: Contains IPv6 peering config. + properties: + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + routeFilter: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + lastModifiedBy: + description: Who was the last to modify the peering. + type: string + microsoftPeeringConfig: + description: Specifies the peering configuration. + properties: + advertisedCommunities: + description: The communities of bgp peering. Specified for microsoft peering. + items: + type: string + type: array + advertisedPublicPrefixes: + description: The reference of AdvertisedPublicPrefixes. + items: + type: string + type: array + advertisedPublicPrefixesState: + description: The advertised public prefix state of the Peering resource. + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: The CustomerASN of the peering. + format: int32 + type: integer + legacyMode: + description: The legacy mode of the peering. + format: int32 + type: integer + routingRegistryName: + description: The RoutingRegistryName of the configuration. + type: string + peerASN: + description: The peer ASN. + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + peeringType: + description: The peering type. + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringType + primaryAzurePort: + description: The primary port. + readOnly: true + type: string + primaryPeerAddressPrefix: + description: The primary address prefix. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + secondaryAzurePort: + description: The secondary port. + readOnly: true + type: string + secondaryPeerAddressPrefix: + description: The secondary address prefix. + type: string + sharedKey: + description: The shared key. + type: string + state: + description: The state of peering. + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePeeringState + vlanId: + description: The VLAN ID. + format: int32 + type: integer + ExpressRouteCrossConnectionProperties: + description: Properties of ExpressRouteCrossConnection. + properties: + bandwidthInMbps: + description: The circuit bandwidth In Mbps. + format: int32 + type: integer + expressRouteCircuit: + $ref: '#/definitions/ExpressRouteCircuitReference' + description: The ExpressRouteCircuit. + peeringLocation: + description: The peering location of the ExpressRoute circuit. + type: string + peerings: + description: The list of peerings. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionPeering' + type: array + primaryAzurePort: + description: The name of the primary port. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sTag: + description: The identifier of the circuit traffic. + readOnly: true + type: integer + secondaryAzurePort: + description: The name of the secondary port. + readOnly: true + type: string + serviceProviderNotes: + description: Additional read only notes set by the connectivity provider. + type: string + serviceProviderProvisioningState: + description: The ServiceProviderProvisioningState state of the resource. + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCrossConnectionRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit. + properties: + asn: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: IP address of Neighbor router. + type: string + stateOrPrefixesReceived: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + ExpressRouteCrossConnectionsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Cross Connections. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of the routes table. + items: + $ref: '#/definitions/ExpressRouteCrossConnectionRoutesTableSummary' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2446c9319c9a3a968abde89dae54e7a62a13b8a2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-08-01/swagger.yaml @@ -0,0 +1,723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2018-08-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2018-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2018-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2018-08-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2018-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2018-08-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2018-08-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2018-08-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list + properties: + value: + description: The list of ExpressRoute connections + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d018d4f6bba7c99743f4f49ebc5b4d2c3fbe3683 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-10-01/swagger.yaml @@ -0,0 +1,723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2018-10-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2018-10-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2018-10-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2018-10-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2018-10-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2018-10-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2018-10-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2018-10-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list + properties: + value: + description: The list of ExpressRoute connections + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1671801a672ecdc1ef38b58c0d863807d19a693a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-11-01/swagger.yaml @@ -0,0 +1,723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2018-11-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2018-11-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2018-11-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2018-11-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2018-11-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2018-11-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2018-11-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2018-11-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list + properties: + value: + description: The list of ExpressRoute connections + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf92aed5819548c768f9388fd40c1a313730aa1b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2018-12-01/swagger.yaml @@ -0,0 +1,723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2018-12-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2018-12-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2018-12-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2018-12-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2018-12-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2018-12-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2018-12-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2018-12-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list + properties: + value: + description: The list of ExpressRoute connections + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..db2ca784477e2667b9e887a6426289666dbf0b1f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-02-01/swagger.yaml @@ -0,0 +1,733 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2019-02-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2019-02-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2019-02-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2019-02-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2019-02-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2019-02-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2019-02-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2019-02-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + description: Properties of the express route connection. + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list + properties: + value: + description: The list of ExpressRoute connections + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + description: Properties of the express route gateway. + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8506093428f3dd06a6ea29d2202f045c73c436ea --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-04-01/swagger.yaml @@ -0,0 +1,733 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2019-04-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2019-04-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2019-04-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2019-04-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2019-04-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2019-04-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2019-04-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2019-04-01' + connectionName: connectionName + expressRouteGatewayName: gateway-2 + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + description: Properties of the express route connection. + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list. + properties: + value: + description: The list of ExpressRoute connections. + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + description: Properties of the express route gateway. + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1bc3dd93e1b1fa82b745986433117661052b1f72 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-06-01/swagger.yaml @@ -0,0 +1,733 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2019-06-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2019-06-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2019-06-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2019-06-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2019-06-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2019-06-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2019-06-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2019-06-01' + connectionName: connectionName + expressRouteGatewayName: gateway-2 + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + description: Properties of the express route connection. + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list. + properties: + value: + description: The list of ExpressRoute connections. + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + description: Properties of the express route gateway. + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e2f51552b790630df57a35c116a6ffc3ee903439 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-07-01/swagger.yaml @@ -0,0 +1,733 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/expressRouteGateway.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2019-07-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2019-07-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2019-07-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2019-07-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2019-07-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2019-07-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2019-07-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2019-07-01' + connectionName: connectionName + expressRouteGatewayName: gateway-2 + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + description: Properties of the express route connection. + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list. + properties: + value: + description: The list of ExpressRoute connections. + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + description: Properties of the express route gateway. + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..16a9d475097d1960a78b880c45c98446010ffc53 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRouteGateway/2019-08-01/swagger.yaml @@ -0,0 +1,733 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/expressRouteGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRouteGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways under a given subscription. + operationId: ExpressRouteGateways_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListBySubscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways': + get: + description: Lists ExpressRoute gateways in a given resource group. + operationId: ExpressRouteGateways_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation successful. + schema: + $ref: '#/definitions/ExpressRouteGatewayList' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayListByResourceGroup: + parameters: + api-version: '2019-08-01' + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + autoScaleConfiguration: + bounds: + min: 2 + expressRouteConnections: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: f28e9c99-78d8-4248-a855-c54cf6beb99d + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}': + delete: + description: Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. + operationId: ExpressRouteGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayDelete: + parameters: + api-version: '2019-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Fetches the details of a ExpressRoute gateway in a resource group. + operationId: ExpressRouteGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Operation succeeded. The operation returns the ExpressRoute gateway. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayGet: + parameters: + api-version: '2019-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName + location: westus + name: expressRouteGatewayName + properties: + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + put: + description: Creates or updates a ExpressRoute gateway in a specified resource group. + operationId: ExpressRouteGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Parameters required in an ExpressRoute gateway PUT operation. + in: body + name: putExpressRouteGatewayParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + '201': + description: Create successful. The operation returns the resulting ExpressRoute gateway resource. + schema: + $ref: '#/definitions/ExpressRouteGateway' + tags: + - ExpressRouteGateways + x-ms-examples: + ExpressRouteGatewayCreate: + parameters: + api-version: '2019-08-01' + expressRouteGatewayName: gateway-2 + putExpressRouteGatewayParameters: + location: westus + properties: + autoScaleConfiguration: + bounds: + min: 3 + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2 + location: westus + name: gateway-2 + properties: + autoScaleConfiguration: + bounds: + min: 3 + provisioningState: Succeeded + virtualHub: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName + type: Microsoft.Network/expressRouteGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections': + get: + description: Lists ExpressRouteConnections. + operationId: ExpressRouteConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. + schema: + $ref: '#/definitions/ExpressRouteConnectionList' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionList: + parameters: + api-version: '2019-08-01' + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}': + delete: + description: Deletes a connection to a ExpressRoute circuit. + operationId: ExpressRouteConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: 'Accepted, and the operation will continue asynchronously.' + '204': + description: Delete successful. + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionDelete: + parameters: + api-version: '2019-08-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ExpressRouteConnection. + operationId: ExpressRouteConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the ExpressRoute connection. + in: path + name: connectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionGet: + parameters: + api-version: '2019-08-01' + connectionName: connectionName + expressRouteGatewayName: expressRouteGatewayName + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 1 + put: + description: Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + operationId: ExpressRouteConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoute gateway. + in: path + name: expressRouteGatewayName + required: true + type: string + - description: The name of the connection subresource. + in: path + name: connectionName + required: true + type: string + - description: Parameters required in an ExpressRouteConnection PUT operation. + in: body + name: putExpressRouteConnectionParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + '201': + description: Create successful. The operation returns the ExpressRouteConnection. + schema: + $ref: '#/definitions/ExpressRouteConnection' + tags: + - ExpressRouteConnections + x-ms-examples: + ExpressRouteConnectionCreate: + parameters: + api-version: '2019-08-01' + connectionName: connectionName + expressRouteGatewayName: gateway-2 + putExpressRouteConnectionParameters: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + routingWeight: 2 + resourceGroupName: resourceGroupName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + '201': + body: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName + name: connectionName + properties: + authorizationKey: authorizationKey + expressRouteCircuitPeering: + id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering + provisioningState: Provisioned + routingWeight: 2 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ExpressRouteCircuitPeeringId: + description: ExpressRoute circuit peering identifier. + properties: + id: + description: The ID of the ExpressRoute circuit peering. + type: string + ExpressRouteConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteConnection resource. + properties: + name: + description: The name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteConnectionProperties' + description: Properties of the express route connection. + x-ms-client-flatten: true + required: + - name + ExpressRouteConnectionId: + description: The ID of the ExpressRouteConnection. + properties: + id: + description: The ID of the ExpressRouteConnection. + readOnly: true + type: string + ExpressRouteConnectionList: + description: ExpressRouteConnection list. + properties: + value: + description: The list of ExpressRoute connections. + items: + $ref: '#/definitions/ExpressRouteConnection' + type: array + ExpressRouteConnectionProperties: + description: Properties of the ExpressRouteConnection subresource. + properties: + authorizationKey: + description: Authorization key to establish the connection. + type: string + expressRouteCircuitPeering: + $ref: '#/definitions/ExpressRouteCircuitPeeringId' + description: The ExpressRoute circuit peering. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + routingWeight: + description: The routing weight associated to the connection. + type: integer + required: + - expressRouteCircuitPeering + ExpressRouteGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoute gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRouteGatewayProperties' + description: Properties of the express route gateway. + x-ms-client-flatten: true + ExpressRouteGatewayList: + description: List of ExpressRoute gateways. + properties: + value: + description: List of ExpressRoute gateways. + items: + $ref: '#/definitions/ExpressRouteGateway' + type: array + ExpressRouteGatewayProperties: + description: ExpressRoute gateway resource properties. + properties: + autoScaleConfiguration: + description: Configuration for auto scaling. + properties: + bounds: + description: Minimum and maximum number of scale units to deploy. + properties: + max: + description: Maximum number of scale units deployed for ExpressRoute gateway. + type: integer + min: + description: Minimum number of scale units deployed for ExpressRoute gateway. + type: integer + expressRouteConnections: + description: List of ExpressRoute connections to the ExpressRoute gateway. + items: + $ref: '#/definitions/ExpressRouteConnection' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + virtualHub: + $ref: '#/definitions/VirtualHubId' + description: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + required: + - virtualHub + VirtualHubId: + description: Virtual Hub identifier. + properties: + id: + description: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2f6eb92b3b747b989c59570e2fdaecd31a86b737 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-08-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2018-08-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-08-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s) + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6ecba2db4f628e1a41cebcc816601fb04fe5cbbc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-10-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2018-10-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-10-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s) + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..32416d8992b3aa37ec4e0a17b21bf34d31634c8c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-11-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2018-11-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-11-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s) + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fea748e1680358a6aa9c37d6b034bfe5e01220dd --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2018-12-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2018-12-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2018-12-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s) + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..dad82e7d421a58b8aee84cf15a49ab8dfc360186 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-02-01/swagger.yaml @@ -0,0 +1,1093 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2019-02-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-02-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s) + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..155e646cff68ba204f78b916e9919543e2bce58b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-04-01/swagger.yaml @@ -0,0 +1,1093 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription. + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2019-04-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags. + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-04-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties. + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties. + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps. + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource. + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s). + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties. + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name. + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps. + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..19d639c2d8fda2d70c4361cbc863c112778faa04 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-06-01/swagger.yaml @@ -0,0 +1,1093 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription. + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2019-06-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags. + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-06-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties. + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRouteLink resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties. + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps. + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource. + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s). + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: 'The provisioning state of the ExpressRoutePort resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the ExpressRoutePort resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties. + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name. + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps. + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..df87bfdb0652faec427a5aea5262193015a4a6c9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-07-01/swagger.yaml @@ -0,0 +1,1175 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/expressRoutePort.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription. + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2019-07-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags. + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-07-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties. + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkMacSecConfig: + description: ExpressRouteLink Mac Security Configuration. + properties: + cakSecretIdentifier: + description: Keyvault Secret Identifier URL containing Mac security CAK key. + type: string + cipher: + description: Mac security cipher. + enum: + - gcm-aes-128 + - gcm-aes-256 + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkMacSecCipher + cknSecretIdentifier: + description: Keyvault Secret Identifier URL containing Mac security CKN key. + type: string + title: Definition of ExpressRouteLink Mac Security configuration. + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + macSecConfig: + $ref: '#/definitions/ExpressRouteLinkMacSecConfig' + description: MacSec configuration. + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: 'The type of identity used for the resource. The type ''SystemAssigned, UserAssigned'' includes both an implicitly created identity and a set of user assigned identities. The type ''None'' will remove any identities from the virtual machine.' + enum: + - SystemAssigned + - UserAssigned + - 'SystemAssigned, UserAssigned' + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: 'The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}''.' + type: object + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties. + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps. + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource. + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s). + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the express route port resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties. + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name. + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps. + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3a369c88b5fe07892b7e54a8d4cd2d01fa10a461 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-expressRoutePort/2019-08-01/swagger.yaml @@ -0,0 +1,1175 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/expressRoutePort.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-expressRoutePort + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified subscription. + operationId: ExpressRoutePorts_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortList: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations': + get: + description: Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. + operationId: ExpressRoutePortsLocations_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the list of all ExpressRoutePort peering locations. + schema: + $ref: '#/definitions/ExpressRoutePortsLocationListResult' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationList: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: [] + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}': + get: + description: 'Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.' + operationId: ExpressRoutePortsLocations_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Name of the requested ExpressRoutePort peering location. + in: path + name: locationName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort peering location. + schema: + $ref: '#/definitions/ExpressRoutePortsLocation' + tags: + - ExpressRoutePortsLocations + x-ms-examples: + ExpressRoutePortsLocationGet: + parameters: + api-version: '2019-08-01' + locationName: locationName + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName + location: westus + name: locationName + properties: + address: '123 Main Street, City, State, Zip' + availableBandwidths: + - offerName: 100 Gbps + valueInGbps: 100 + contact: email@address.com + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePortsLocations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts': + get: + description: List all the ExpressRoutePort resources in the specified resource group. + operationId: ExpressRoutePorts_ListByResourceGroup + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRoutePortListResult' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortListByResourceGroup: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}': + delete: + description: Deletes the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_Delete + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortDelete: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Retrieves the requested ExpressRoutePort resource. + operationId: ExpressRoutePorts_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of ExpressRoutePort. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortGet: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + patch: + description: Update ExpressRoutePort tags. + operationId: ExpressRoutePorts_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to update ExpressRoutePort resource tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortUpdateTags: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + put: + description: Creates or updates the specified ExpressRoutePort resource. + operationId: ExpressRoutePorts_CreateOrUpdate + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: Parameters supplied to the create ExpressRoutePort operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRoutePort' + responses: + '200': + description: Update successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + '201': + description: Create successful. The operation returns the resulting ExpressRoutePort resource. + schema: + $ref: '#/definitions/ExpressRoutePort' + tags: + - ExpressRoutePorts + x-ms-examples: + ExpressRoutePortCreate: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + ExpressRoutePortUpdateLink: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + parameters: + location: westus + properties: + bandwidthInGbps: 100 + encapsulation: QinQ + links: + - name: link1 + properties: + adminState: Enabled + peeringLocation: peeringLocationName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName + location: westus + name: portName + properties: + allocationDate: 'Friday, July 1, 2018' + bandwidthInGbps: 100 + circuits: [] + encapsulation: QinQ + etherType: '0x8100' + links: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Enabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + mtu: '1500' + peeringLocation: peeringLocationName + provisionedBandwidthInGbps: 0 + provisioningState: Succeeded + type: Microsoft.Network/expressRoutePorts + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links': + get: + description: Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + operationId: ExpressRouteLinks_List + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned. + schema: + $ref: '#/definitions/ExpressRouteLinkListResult' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1 + name: link1 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2 + name: link2 + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId2 + provisioningState: Succeeded + rackId: rackId2 + routerName: router2 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}': + get: + description: Retrieves the specified ExpressRouteLink resource. + operationId: ExpressRouteLinks_Get + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ExpressRoutePort resource. + in: path + name: expressRoutePortName + required: true + type: string + - description: The name of the ExpressRouteLink resource. + in: path + name: linkName + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the requested ExpressRouteLink resource. + schema: + $ref: '#/definitions/ExpressRouteLink' + tags: + - ExpressRouteLinks + x-ms-examples: + ExpressRouteLinkGet: + parameters: + api-version: '2019-08-01' + expressRoutePortName: portName + linkName: linkName + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName + name: linkName + properties: + adminState: Disabled + connectorType: LC + interfaceName: Ethernet 0/0 + patchPanelId: patchPanelId1 + provisioningState: Succeeded + rackId: rackId1 + routerName: router1 +definitions: + ExpressRouteLink: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: ExpressRouteLink child resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Name of child port resource that is unique among child port resources of the parent. + type: string + properties: + $ref: '#/definitions/ExpressRouteLinkPropertiesFormat' + description: ExpressRouteLink properties. + x-ms-client-flatten: true + title: ExpressRouteLink + ExpressRouteLinkListResult: + description: Response for ListExpressRouteLinks API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of ExpressRouteLink sub-resources. + items: + $ref: '#/definitions/ExpressRouteLink' + type: array + title: ExpressRouteLink List Result + ExpressRouteLinkMacSecConfig: + description: ExpressRouteLink Mac Security Configuration. + properties: + cakSecretIdentifier: + description: Keyvault Secret Identifier URL containing Mac security CAK key. + type: string + cipher: + description: Mac security cipher. + enum: + - gcm-aes-128 + - gcm-aes-256 + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkMacSecCipher + cknSecretIdentifier: + description: Keyvault Secret Identifier URL containing Mac security CKN key. + type: string + title: Definition of ExpressRouteLink Mac Security configuration. + ExpressRouteLinkPropertiesFormat: + description: Properties specific to ExpressRouteLink resources. + properties: + adminState: + description: Administrative state of the physical port. + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkAdminState + connectorType: + description: Physical fiber port type. + enum: + - LC + - SC + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteLinkConnectorType + interfaceName: + description: Name of Azure router interface. + readOnly: true + type: string + macSecConfig: + $ref: '#/definitions/ExpressRouteLinkMacSecConfig' + description: MacSec configuration. + patchPanelId: + description: Mapping between physical port to patch panel port. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rackId: + description: Mapping of physical patch panel to rack. + readOnly: true + type: string + routerName: + description: Name of Azure router associated with physical port. + readOnly: true + type: string + title: ExpressRouteLink Resource Properties + ExpressRoutePort: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: ExpressRoutePort resource definition. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + identity: + description: Identity for the resource. + properties: + principalId: + description: The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + readOnly: true + type: string + tenantId: + description: The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + readOnly: true + type: string + type: + description: 'The type of identity used for the resource. The type ''SystemAssigned, UserAssigned'' includes both an implicitly created identity and a set of user assigned identities. The type ''None'' will remove any identities from the virtual machine.' + enum: + - SystemAssigned + - UserAssigned + - 'SystemAssigned, UserAssigned' + - None + type: string + x-ms-enum: + modelAsString: false + name: ResourceIdentityType + userAssignedIdentities: + additionalProperties: + properties: + clientId: + description: The client id of user assigned identity. + readOnly: true + type: string + principalId: + description: The principal id of user assigned identity. + readOnly: true + type: string + type: object + description: 'The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}''.' + type: object + properties: + $ref: '#/definitions/ExpressRoutePortPropertiesFormat' + description: ExpressRoutePort properties. + x-ms-client-flatten: true + title: ExpressRoute Port + ExpressRoutePortListResult: + description: Response for ListExpressRoutePorts API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of ExpressRoutePort resources. + items: + $ref: '#/definitions/ExpressRoutePort' + type: array + title: ExpressRoute Port List Result + ExpressRoutePortPropertiesFormat: + description: Properties specific to ExpressRoutePort resources. + properties: + allocationDate: + description: Date of the physical port allocation to be used in Letter of Authorization. + readOnly: true + type: string + bandwidthInGbps: + description: Bandwidth of procured ports in Gbps. + type: integer + circuits: + description: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + encapsulation: + description: Encapsulation method on physical ports. + enum: + - Dot1Q + - QinQ + type: string + x-ms-enum: + modelAsString: true + name: ExpressRoutePortsEncapsulation + etherType: + description: Ether type of the physical port. + readOnly: true + type: string + links: + description: The set of physical links of the ExpressRoutePort resource. + items: + $ref: '#/definitions/ExpressRouteLink' + readOnly: false + title: ExpressRouteLink Sub-Resources + type: array + mtu: + description: Maximum transmission unit of the physical port pair(s). + readOnly: true + type: string + peeringLocation: + description: The name of the peering location that the ExpressRoutePort is mapped to physically. + type: string + provisionedBandwidthInGbps: + description: Aggregate Gbps of associated circuit bandwidths. + readOnly: true + type: number + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the express route port resource. + type: string + title: ExpressRoutePort Properties + ExpressRoutePortsLocation: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Definition of the ExpressRoutePorts peering location resource. + properties: + properties: + $ref: '#/definitions/ExpressRoutePortsLocationPropertiesFormat' + description: ExpressRoutePort peering location properties. + x-ms-client-flatten: true + title: ExpressRoutePorts Peering Location + ExpressRoutePortsLocationBandwidths: + description: Real-time inventory of available ExpressRoute port bandwidths. + properties: + offerName: + description: Bandwidth descriptive name. + readOnly: true + type: string + valueInGbps: + description: Bandwidth value in Gbps. + readOnly: true + type: integer + title: ExpressRoutePorts Location Bandwidths + ExpressRoutePortsLocationListResult: + description: Response for ListExpressRoutePortsLocations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The list of all ExpressRoutePort peering locations. + items: + $ref: '#/definitions/ExpressRoutePortsLocation' + type: array + title: ExpressRoutePorts Location List Result + ExpressRoutePortsLocationPropertiesFormat: + description: Properties specific to ExpressRoutePorts peering location resources. + properties: + address: + description: Address of peering location. + readOnly: true + type: string + availableBandwidths: + description: The inventory of available ExpressRoutePort bandwidths. + items: + $ref: '#/definitions/ExpressRoutePortsLocationBandwidths' + type: array + contact: + description: Contact details of peering locations. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + title: ExpressRoutePorts Location Properties diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..46d77844fcccb5ad351a5e41fe45ce6562a53ef6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-06-01/swagger.yaml @@ -0,0 +1,1127 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/firewallPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-firewallPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies': + get: + description: Gets all the Firewall Policies in a subscription. + operationId: FirewallPolicies_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given subscription: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies': + get: + description: Lists all Firewall Policies in a resource group. + operationId: FirewallPolicies_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}': + delete: + description: Deletes the specified Firewall Policy. + operationId: FirewallPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - FirewallPolicies + x-ms-examples: + Delete Firewall Policy: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Firewall Policy. + operationId: FirewallPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns a Firewall Policy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Get FirewallPolicy: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + patch: + description: Updates a Firewall Policy Tags. + operationId: FirewallPolicies_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: The resource group name of the Firewall Policy. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy being updated. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Parameters supplied to Update Firewall Policy tags. + in: body + name: firewallPolicyParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Request successful. Returns the details of the Firewall Policy updated. + schema: + $ref: '#/definitions/FirewallPolicy' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - FirewallPolicies + x-ms-examples: + Update FirewallPolicy: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + firewallPolicyParameters: + tags: + key1: value1 + key2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + provisioningState: Succeeded + threatIntelMode: Deny + tags: + key1: value1 + key2: value2 + type: Microsoft.Network/firewallPolicies + put: + description: Creates or updates the specified Firewall Policy. + operationId: FirewallPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Parameters supplied to the create or update Firewall Policy operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Create FirewallPolicy: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + parameters: + location: West US + properties: + threatIntelMode: Alert + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups': + get: + description: Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + operationId: FirewallPolicyRuleGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicyRuleGroup resources. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroupListResult' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + List all FirewallPolicyRuleGroups for a given FirewallPolicy: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 120 + ruleConditions: + - description: Network rule condition + destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition-1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}': + delete: + description: Deletes the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Delete FirewallPolicyRuleGroup: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Get FirewallPolicyRuleGroup: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 200 + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + put: + description: Creates or updates the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Parameters supplied to the create or update FirewallPolicyRuleGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Create FirewallPolicyRuleGroup: + parameters: + api-version: '2019-06-01' + firewallPolicyName: firewallPolicy + parameters: + properties: + priority: 110 + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + name: firewallPolicy + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type application. + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + fqdnTags: + description: List of FQDN Tags for this rule condition. + items: + type: string + type: array + protocols: + description: Array of Application Protocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule condition. + items: + type: string + type: array + x-ms-discriminator-value: ApplicationRuleCondition + FirewallPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: FirewallPolicy Resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/FirewallPolicyPropertiesFormat' + description: Properties of the firewall policy. + x-ms-client-flatten: true + FirewallPolicyFilterRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy Filter Rule + properties: + action: + $ref: '#/definitions/FirewallPolicyFilterRuleAction' + description: The action type of a Filter rule + ruleConditions: + description: Collection of rule conditions used by a rule. + items: + $ref: '#/definitions/FirewallPolicyRuleCondition' + type: array + x-ms-discriminator-value: FirewallPolicyFilterRule + FirewallPolicyFilterRuleAction: + description: Properties of the FirewallPolicyFilterRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyFilterRuleActionType' + description: The type of action. + FirewallPolicyFilterRuleActionType: + description: The action type of a rule + enum: + - Allow + - Deny + - 'Alert ' + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyFilterRuleActionType + FirewallPolicyListResult: + description: Response for ListFirewallPolicies API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Firewall Policies in a resource group. + items: + $ref: '#/definitions/FirewallPolicy' + type: array + FirewallPolicyNatRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy NAT Rule + properties: + action: + $ref: '#/definitions/FirewallPolicyNatRuleAction' + description: 'The action type of a Nat rule, SNAT or DNAT' + ruleCondition: + $ref: '#/definitions/FirewallPolicyRuleCondition' + description: The match conditions for incoming traffic + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + x-ms-discriminator-value: FirewallPolicyNatRule + FirewallPolicyNatRuleAction: + description: Properties of the FirewallPolicyNatRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyNatRuleActionType' + description: The type of action. + FirewallPolicyNatRuleActionType: + description: The action type of a rule + enum: + - DNAT + - SNAT + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyNatRuleActionType + FirewallPolicyPropertiesFormat: + description: Firewall Policy definition + properties: + basePolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + childPolicies: + description: List of references to Child Firewall Policies + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + firewalls: + description: List of references to Azure Firewalls that this Firewall Policy is associated with + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ruleGroups: + description: List of references to FirewallPolicyRuleGroups + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + threatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + FirewallPolicyRule: + description: Properties of the rule. + discriminator: ruleType + properties: + name: + description: Name of the Rule + type: string + priority: + description: Priority of the Firewall Policy Rule resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + ruleType: + description: ' The type of the rule' + enum: + - FirewallPolicyNatRule + - FirewallPolicyFilterRule + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleType + required: + - ruleType + FirewallPolicyRuleCondition: + description: Properties of a rule. + discriminator: ruleConditionType + properties: + description: + description: Description of the rule condition. + type: string + name: + description: Name of the rule condition. + type: string + ruleConditionType: + description: Rule Condition Type + enum: + - ApplicationRuleCondition + - NetworkRuleCondition + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionType + required: + - ruleConditionType + FirewallPolicyRuleConditionApplicationProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocolType' + description: Protocol type + FirewallPolicyRuleConditionApplicationProtocolType: + description: The application protocol type of a Rule condition. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionApplicationProtocolType + FirewallPolicyRuleConditionNetworkProtocol: + description: The Network protocol of a Rule condition + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionNetworkProtocol + FirewallPolicyRuleGroup: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Rule Group resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FirewallPolicyRuleGroupProperties' + description: The properties of the firewall policy rule group. + x-ms-client-flatten: true + type: + description: Rule Group type. + readOnly: true + type: string + FirewallPolicyRuleGroupListResult: + description: Response for ListFirewallPolicyRuleGroups API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of FirewallPolicyRuleGroups in a FirewallPolicy. + items: + $ref: '#/definitions/FirewallPolicyRuleGroup' + type: array + FirewallPolicyRuleGroupProperties: + description: Properties of the rule group. + properties: + priority: + description: Priority of the Firewall Policy Rule Group resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Group of Firewall Policy rules. + items: + $ref: '#/definitions/FirewallPolicyRule' + type: array + NetworkRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type network + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + ipProtocols: + description: Array of FirewallPolicyRuleConditionNetworkProtocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionNetworkProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + x-ms-discriminator-value: NetworkRuleCondition diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..988e7c02f8c0c7485ae90a9587aa88ff80ad0eeb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-07-01/swagger.yaml @@ -0,0 +1,1127 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/firewallPolicy.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-firewallPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies': + get: + description: Gets all the Firewall Policies in a subscription. + operationId: FirewallPolicies_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given subscription: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies': + get: + description: Lists all Firewall Policies in a resource group. + operationId: FirewallPolicies_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}': + delete: + description: Deletes the specified Firewall Policy. + operationId: FirewallPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - FirewallPolicies + x-ms-examples: + Delete Firewall Policy: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Firewall Policy. + operationId: FirewallPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns a Firewall Policy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Get FirewallPolicy: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + patch: + description: Updates a Firewall Policy Tags. + operationId: FirewallPolicies_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: The resource group name of the Firewall Policy. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy being updated. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Parameters supplied to Update Firewall Policy tags. + in: body + name: firewallPolicyParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Request successful. Returns the details of the Firewall Policy updated. + schema: + $ref: '#/definitions/FirewallPolicy' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - FirewallPolicies + x-ms-examples: + Update FirewallPolicy: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + firewallPolicyParameters: + tags: + key1: value1 + key2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + provisioningState: Succeeded + threatIntelMode: Deny + tags: + key1: value1 + key2: value2 + type: Microsoft.Network/firewallPolicies + put: + description: Creates or updates the specified Firewall Policy. + operationId: FirewallPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Parameters supplied to the create or update Firewall Policy operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Create FirewallPolicy: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + parameters: + location: West US + properties: + threatIntelMode: Alert + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups': + get: + description: Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + operationId: FirewallPolicyRuleGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicyRuleGroup resources. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroupListResult' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + List all FirewallPolicyRuleGroups for a given FirewallPolicy: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 120 + ruleConditions: + - description: Network rule condition + destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition-1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}': + delete: + description: Deletes the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Delete FirewallPolicyRuleGroup: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Get FirewallPolicyRuleGroup: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 200 + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + put: + description: Creates or updates the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Parameters supplied to the create or update FirewallPolicyRuleGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Create FirewallPolicyRuleGroup: + parameters: + api-version: '2019-07-01' + firewallPolicyName: firewallPolicy + parameters: + properties: + priority: 110 + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + name: firewallPolicy + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type application. + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + fqdnTags: + description: List of FQDN Tags for this rule condition. + items: + type: string + type: array + protocols: + description: Array of Application Protocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule condition. + items: + type: string + type: array + x-ms-discriminator-value: ApplicationRuleCondition + FirewallPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: FirewallPolicy Resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/FirewallPolicyPropertiesFormat' + description: Properties of the firewall policy. + x-ms-client-flatten: true + FirewallPolicyFilterRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy Filter Rule. + properties: + action: + $ref: '#/definitions/FirewallPolicyFilterRuleAction' + description: The action type of a Filter rule. + ruleConditions: + description: Collection of rule conditions used by a rule. + items: + $ref: '#/definitions/FirewallPolicyRuleCondition' + type: array + x-ms-discriminator-value: FirewallPolicyFilterRule + FirewallPolicyFilterRuleAction: + description: Properties of the FirewallPolicyFilterRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyFilterRuleActionType' + description: The type of action. + FirewallPolicyFilterRuleActionType: + description: The action type of a rule. + enum: + - Allow + - Deny + - 'Alert ' + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyFilterRuleActionType + FirewallPolicyListResult: + description: Response for ListFirewallPolicies API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Firewall Policies in a resource group. + items: + $ref: '#/definitions/FirewallPolicy' + type: array + FirewallPolicyNatRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy NAT Rule. + properties: + action: + $ref: '#/definitions/FirewallPolicyNatRuleAction' + description: The action type of a Nat rule. + ruleCondition: + $ref: '#/definitions/FirewallPolicyRuleCondition' + description: The match conditions for incoming traffic. + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + x-ms-discriminator-value: FirewallPolicyNatRule + FirewallPolicyNatRuleAction: + description: Properties of the FirewallPolicyNatRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyNatRuleActionType' + description: The type of action. + FirewallPolicyNatRuleActionType: + description: The action type of a rule. + enum: + - DNAT + - SNAT + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyNatRuleActionType + FirewallPolicyPropertiesFormat: + description: Firewall Policy definition. + properties: + basePolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + childPolicies: + description: List of references to Child Firewall Policies. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + firewalls: + description: List of references to Azure Firewalls that this Firewall Policy is associated with. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ruleGroups: + description: List of references to FirewallPolicyRuleGroups. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + threatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + FirewallPolicyRule: + description: Properties of the rule. + discriminator: ruleType + properties: + name: + description: The name of the rule. + type: string + priority: + description: Priority of the Firewall Policy Rule resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + ruleType: + description: The type of the rule. + enum: + - FirewallPolicyNatRule + - FirewallPolicyFilterRule + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleType + required: + - ruleType + FirewallPolicyRuleCondition: + description: Properties of a rule. + discriminator: ruleConditionType + properties: + description: + description: Description of the rule condition. + type: string + name: + description: Name of the rule condition. + type: string + ruleConditionType: + description: Rule Condition Type. + enum: + - ApplicationRuleCondition + - NetworkRuleCondition + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionType + required: + - ruleConditionType + FirewallPolicyRuleConditionApplicationProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocolType' + description: Protocol type. + FirewallPolicyRuleConditionApplicationProtocolType: + description: The application protocol type of a Rule condition. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionApplicationProtocolType + FirewallPolicyRuleConditionNetworkProtocol: + description: The Network protocol of a Rule condition. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionNetworkProtocol + FirewallPolicyRuleGroup: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Rule Group resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FirewallPolicyRuleGroupProperties' + description: The properties of the firewall policy rule group. + x-ms-client-flatten: true + type: + description: Rule Group type. + readOnly: true + type: string + FirewallPolicyRuleGroupListResult: + description: Response for ListFirewallPolicyRuleGroups API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of FirewallPolicyRuleGroups in a FirewallPolicy. + items: + $ref: '#/definitions/FirewallPolicyRuleGroup' + type: array + FirewallPolicyRuleGroupProperties: + description: Properties of the rule group. + properties: + priority: + description: Priority of the Firewall Policy Rule Group resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Group of Firewall Policy rules. + items: + $ref: '#/definitions/FirewallPolicyRule' + type: array + NetworkRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type network. + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + ipProtocols: + description: Array of FirewallPolicyRuleConditionNetworkProtocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionNetworkProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + x-ms-discriminator-value: NetworkRuleCondition diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..229eff5df239c8bbc8e810c3d69b3294304e409c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-firewallPolicy/2019-08-01/swagger.yaml @@ -0,0 +1,1125 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/firewallPolicy.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-firewallPolicy + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies': + get: + description: Gets all the Firewall Policies in a subscription. + operationId: FirewallPolicies_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given subscription: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies': + get: + description: Lists all Firewall Policies in a resource group. + operationId: FirewallPolicies_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicy resources. + schema: + $ref: '#/definitions/FirewallPolicyListResult' + tags: + - FirewallPolicies + x-ms-examples: + List all Firewall Policies for a given resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}': + delete: + description: Deletes the specified Firewall Policy. + operationId: FirewallPolicies_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - FirewallPolicies + x-ms-examples: + Delete Firewall Policy: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified Firewall Policy. + operationId: FirewallPolicies_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns a Firewall Policy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Get FirewallPolicy: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + patch: + description: Updates a Firewall Policy Tags. + operationId: FirewallPolicies_UpdateTags + parameters: + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: The resource group name of the Firewall Policy. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy being updated. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: Parameters supplied to Update Firewall Policy tags. + in: body + name: firewallPolicyParameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + responses: + '200': + description: Request successful. Returns the details of the Firewall Policy updated. + schema: + $ref: '#/definitions/FirewallPolicy' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - FirewallPolicies + x-ms-examples: + Update FirewallPolicy: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + firewallPolicyParameters: + tags: + key1: value1 + key2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + provisioningState: Succeeded + threatIntelMode: Deny + tags: + key1: value1 + key2: value2 + type: Microsoft.Network/firewallPolicies + put: + description: Creates or updates the specified Firewall Policy. + operationId: FirewallPolicies_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Parameters supplied to the create or update Firewall Policy operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicy' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicy resource. + schema: + $ref: '#/definitions/FirewallPolicy' + tags: + - FirewallPolicies + x-ms-examples: + Create FirewallPolicy: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + parameters: + location: West US + properties: + threatIntelMode: Alert + tags: + key1: value1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + location: West US + name: firewallPolicy + properties: + firewalls: [] + provisioningState: Succeeded + ruleGroups: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2 + threatIntelMode: Alert + tags: + key1: value1 + type: Microsoft.Network/firewallPolicies + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups': + get: + description: Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + operationId: FirewallPolicyRuleGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Success. The operation returns a list of FirewallPolicyRuleGroup resources. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroupListResult' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + List all FirewallPolicyRuleGroups for a given FirewallPolicy: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 120 + ruleConditions: + - description: Network rule condition + destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition-1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}': + delete: + description: Deletes the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource with the specified name does not exist. + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Delete FirewallPolicyRuleGroup: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Get FirewallPolicyRuleGroup: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"72090554-7e3b-43f2-80ad-99a9020dcb11" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + priority: 200 + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + put: + description: Creates or updates the specified FirewallPolicyRuleGroup. + operationId: FirewallPolicyRuleGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Firewall Policy. + in: path + name: firewallPolicyName + required: true + type: string + - description: The name of the FirewallPolicyRuleGroup. + in: path + name: ruleGroupName + required: true + type: string + - description: Parameters supplied to the create or update FirewallPolicyRuleGroup operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + '201': + description: Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource. + schema: + $ref: '#/definitions/FirewallPolicyRuleGroup' + tags: + - FirewallPolicyRuleGroups + x-ms-examples: + Create FirewallPolicyRuleGroup: + parameters: + api-version: '2019-08-01' + firewallPolicyName: firewallPolicy + parameters: + properties: + priority: 110 + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + resourceGroupName: rg1 + ruleGroupName: ruleGroup1 + subscriptionId: subid + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1 + name: ruleGroup1 + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy + name: firewallPolicy + properties: + priority: 110 + provisioningState: Succeeded + rules: + - action: + type: Deny + name: Example-Filter-Rule + ruleConditions: + - destinationAddresses: + - '*' + destinationPorts: + - '*' + ipProtocols: + - TCP + name: network-condition1 + ruleConditionType: NetworkRuleCondition + sourceAddresses: + - 10.1.25.0/24 + ruleType: FirewallPolicyFilterRule + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + ApplicationRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type application. + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + fqdnTags: + description: List of FQDN Tags for this rule condition. + items: + type: string + type: array + protocols: + description: Array of Application Protocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + targetFqdns: + description: List of FQDNs for this rule condition. + items: + type: string + type: array + x-ms-discriminator-value: ApplicationRuleCondition + FirewallPolicy: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: FirewallPolicy Resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/FirewallPolicyPropertiesFormat' + description: Properties of the firewall policy. + x-ms-client-flatten: true + FirewallPolicyFilterRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy Filter Rule. + properties: + action: + $ref: '#/definitions/FirewallPolicyFilterRuleAction' + description: The action type of a Filter rule. + ruleConditions: + description: Collection of rule conditions used by a rule. + items: + $ref: '#/definitions/FirewallPolicyRuleCondition' + type: array + x-ms-discriminator-value: FirewallPolicyFilterRule + FirewallPolicyFilterRuleAction: + description: Properties of the FirewallPolicyFilterRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyFilterRuleActionType' + description: The type of action. + FirewallPolicyFilterRuleActionType: + description: The action type of a rule. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyFilterRuleActionType + FirewallPolicyListResult: + description: Response for ListFirewallPolicies API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of Firewall Policies in a resource group. + items: + $ref: '#/definitions/FirewallPolicy' + type: array + FirewallPolicyNatRule: + allOf: + - $ref: '#/definitions/FirewallPolicyRule' + description: Firewall Policy NAT Rule. + properties: + action: + $ref: '#/definitions/FirewallPolicyNatRuleAction' + description: The action type of a Nat rule. + ruleCondition: + $ref: '#/definitions/FirewallPolicyRuleCondition' + description: The match conditions for incoming traffic. + translatedAddress: + description: The translated address for this NAT rule. + type: string + translatedPort: + description: The translated port for this NAT rule. + type: string + x-ms-discriminator-value: FirewallPolicyNatRule + FirewallPolicyNatRuleAction: + description: Properties of the FirewallPolicyNatRuleAction. + properties: + type: + $ref: '#/definitions/FirewallPolicyNatRuleActionType' + description: The type of action. + FirewallPolicyNatRuleActionType: + description: The action type of a rule. + enum: + - DNAT + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyNatRuleActionType + FirewallPolicyPropertiesFormat: + description: Firewall Policy definition. + properties: + basePolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + childPolicies: + description: List of references to Child Firewall Policies. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + firewalls: + description: List of references to Azure Firewalls that this Firewall Policy is associated with. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ruleGroups: + description: List of references to FirewallPolicyRuleGroups. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + threatIntelMode: + description: The operation mode for Threat Intel. + enum: + - Alert + - Deny + - 'Off' + type: string + x-ms-enum: + modelAsString: true + name: AzureFirewallThreatIntelMode + FirewallPolicyRule: + description: Properties of the rule. + discriminator: ruleType + properties: + name: + description: The name of the rule. + type: string + priority: + description: Priority of the Firewall Policy Rule resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + ruleType: + description: The type of the rule. + enum: + - FirewallPolicyNatRule + - FirewallPolicyFilterRule + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleType + required: + - ruleType + FirewallPolicyRuleCondition: + description: Properties of a rule. + discriminator: ruleConditionType + properties: + description: + description: Description of the rule condition. + type: string + name: + description: Name of the rule condition. + type: string + ruleConditionType: + description: Rule Condition Type. + enum: + - ApplicationRuleCondition + - NetworkRuleCondition + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionType + required: + - ruleConditionType + FirewallPolicyRuleConditionApplicationProtocol: + description: Properties of the application rule protocol. + properties: + port: + description: 'Port number for the protocol, cannot be greater than 64000.' + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 64000 + minimum: 0 + type: integer + protocolType: + $ref: '#/definitions/FirewallPolicyRuleConditionApplicationProtocolType' + description: Protocol type. + FirewallPolicyRuleConditionApplicationProtocolType: + description: The application protocol type of a Rule condition. + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionApplicationProtocolType + FirewallPolicyRuleConditionNetworkProtocol: + description: The Network protocol of a Rule condition. + enum: + - TCP + - UDP + - Any + - ICMP + type: string + x-ms-enum: + modelAsString: true + name: FirewallPolicyRuleConditionNetworkProtocol + FirewallPolicyRuleGroup: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Rule Group resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FirewallPolicyRuleGroupProperties' + description: The properties of the firewall policy rule group. + x-ms-client-flatten: true + type: + description: Rule Group type. + readOnly: true + type: string + FirewallPolicyRuleGroupListResult: + description: Response for ListFirewallPolicyRuleGroups API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of FirewallPolicyRuleGroups in a FirewallPolicy. + items: + $ref: '#/definitions/FirewallPolicyRuleGroup' + type: array + FirewallPolicyRuleGroupProperties: + description: Properties of the rule group. + properties: + priority: + description: Priority of the Firewall Policy Rule Group resource. + exclusiveMaximum: false + exclusiveMinimum: false + format: int32 + maximum: 65000 + minimum: 100 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + rules: + description: Group of Firewall Policy rules. + items: + $ref: '#/definitions/FirewallPolicyRule' + type: array + NetworkRuleCondition: + allOf: + - $ref: '#/definitions/FirewallPolicyRuleCondition' + description: Rule condition of type network. + properties: + destinationAddresses: + description: List of destination IP addresses or Service Tags. + items: + type: string + type: array + destinationPorts: + description: List of destination ports. + items: + type: string + type: array + ipProtocols: + description: Array of FirewallPolicyRuleConditionNetworkProtocols. + items: + $ref: '#/definitions/FirewallPolicyRuleConditionNetworkProtocol' + type: array + sourceAddresses: + description: List of source IP addresses for this rule. + items: + type: string + type: array + x-ms-discriminator-value: NetworkRuleCondition diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a826f4820c0a63ed29feb7da18ece9c92ba1c88 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-08-01/swagger.yaml @@ -0,0 +1,454 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/interfaceEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-interfaceEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a subscription. + operationId: InterfaceEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List all interface endpoints: + parameters: + api-version: '2018-08-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: stillVeryUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a resource group. + operationId: InterfaceEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List interface endpoints in resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}': + delete: + description: Deletes the specified interface endpoint. + operationId: InterfaceEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - InterfaceEndpoints + x-ms-examples: + Delete interface endpoint: + parameters: + api-version: '2018-08-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified interface endpoint by resource group. + operationId: InterfaceEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Get interface endpoint: + parameters: + api-version: '2018-08-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + put: + description: Creates or updates an interface endpoint in the specified resource group. + operationId: InterfaceEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Parameters supplied to the create or update interface endpoint operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/InterfaceEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + '201': + description: Create successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Create interface endpoint: + parameters: + api-version: '2018-08-01' + interfaceEndpointName: testIe + parameters: + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true +definitions: + EndpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + InterfaceEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/InterfaceEndpointProperties' + description: Properties of the interface endpoint. + x-ms-client-flatten: true + InterfaceEndpointListResult: + description: Response for the ListInterfaceEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of InterfaceEndpoint resources in a resource group. + items: + $ref: '#/definitions/InterfaceEndpoint' + type: array + InterfaceEndpointProperties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for this interface endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface endpoint. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the interface endpoint. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..00380e6f2dbef7784686553d7c174a8aedb6c878 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-10-01/swagger.yaml @@ -0,0 +1,454 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/interfaceEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-interfaceEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a subscription. + operationId: InterfaceEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List all interface endpoints: + parameters: + api-version: '2018-10-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: stillVeryUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a resource group. + operationId: InterfaceEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List interface endpoints in resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}': + delete: + description: Deletes the specified interface endpoint. + operationId: InterfaceEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - InterfaceEndpoints + x-ms-examples: + Delete interface endpoint: + parameters: + api-version: '2018-10-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified interface endpoint by resource group. + operationId: InterfaceEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Get interface endpoint: + parameters: + api-version: '2018-10-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + put: + description: Creates or updates an interface endpoint in the specified resource group. + operationId: InterfaceEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Parameters supplied to the create or update interface endpoint operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/InterfaceEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + '201': + description: Create successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Create interface endpoint: + parameters: + api-version: '2018-10-01' + interfaceEndpointName: testIe + parameters: + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true +definitions: + EndpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + InterfaceEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/InterfaceEndpointProperties' + description: Properties of the interface endpoint. + x-ms-client-flatten: true + InterfaceEndpointListResult: + description: Response for the ListInterfaceEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of InterfaceEndpoint resources in a resource group. + items: + $ref: '#/definitions/InterfaceEndpoint' + type: array + InterfaceEndpointProperties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for this interface endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface endpoint. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the interface endpoint. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1159733be88d8475b21d7c5f611046d91e5f18c2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-11-01/swagger.yaml @@ -0,0 +1,454 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/interfaceEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-interfaceEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a subscription. + operationId: InterfaceEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List all interface endpoints: + parameters: + api-version: '2018-11-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: stillVeryUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a resource group. + operationId: InterfaceEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List interface endpoints in resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}': + delete: + description: Deletes the specified interface endpoint. + operationId: InterfaceEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - InterfaceEndpoints + x-ms-examples: + Delete interface endpoint: + parameters: + api-version: '2018-11-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified interface endpoint by resource group. + operationId: InterfaceEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Get interface endpoint: + parameters: + api-version: '2018-11-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + put: + description: Creates or updates an interface endpoint in the specified resource group. + operationId: InterfaceEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Parameters supplied to the create or update interface endpoint operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/InterfaceEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + '201': + description: Create successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Create interface endpoint: + parameters: + api-version: '2018-11-01' + interfaceEndpointName: testIe + parameters: + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true +definitions: + EndpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + InterfaceEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/InterfaceEndpointProperties' + description: Properties of the interface endpoint. + x-ms-client-flatten: true + InterfaceEndpointListResult: + description: Response for the ListInterfaceEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of InterfaceEndpoint resources in a resource group. + items: + $ref: '#/definitions/InterfaceEndpoint' + type: array + InterfaceEndpointProperties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for this interface endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface endpoint. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the interface endpoint. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a5ba4852a24c5b42ee5905419e35f437fc52476b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2018-12-01/swagger.yaml @@ -0,0 +1,454 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/interfaceEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-interfaceEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a subscription. + operationId: InterfaceEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List all interface endpoints: + parameters: + api-version: '2018-12-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: stillVeryUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a resource group. + operationId: InterfaceEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List interface endpoints in resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}': + delete: + description: Deletes the specified interface endpoint. + operationId: InterfaceEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - InterfaceEndpoints + x-ms-examples: + Delete interface endpoint: + parameters: + api-version: '2018-12-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified interface endpoint by resource group. + operationId: InterfaceEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Get interface endpoint: + parameters: + api-version: '2018-12-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + put: + description: Creates or updates an interface endpoint in the specified resource group. + operationId: InterfaceEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Parameters supplied to the create or update interface endpoint operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/InterfaceEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + '201': + description: Create successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Create interface endpoint: + parameters: + api-version: '2018-12-01' + interfaceEndpointName: testIe + parameters: + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true +definitions: + EndpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + InterfaceEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/InterfaceEndpointProperties' + description: Properties of the interface endpoint. + x-ms-client-flatten: true + InterfaceEndpointListResult: + description: Response for the ListInterfaceEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of InterfaceEndpoint resources in a resource group. + items: + $ref: '#/definitions/InterfaceEndpoint' + type: array + InterfaceEndpointProperties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for this interface endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface endpoint. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the interface endpoint. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..305f532c49b9f7a9260e33774c77f92c4c7765dc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-interfaceEndpoint/2019-02-01/swagger.yaml @@ -0,0 +1,458 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-interfaceEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a subscription. + operationId: InterfaceEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List all interface endpoints: + parameters: + api-version: '2019-02-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: stillVeryUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/ie1.nic.efgh5463 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints': + get: + description: Gets all interface endpoints in a resource group. + operationId: InterfaceEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of InterfaceEndpoint resources. + schema: + $ref: '#/definitions/InterfaceEndpointListResult' + tags: + - InterfaceEndpoints + x-ms-examples: + List interface endpoints in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie1 + location: eastus + name: ie1 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie1.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/ie2 + location: eastus + name: ie2 + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/otherResourceName + fqdn: alsoUnique.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/ie2.nic.zyxw9876 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}': + delete: + description: Deletes the specified interface endpoint. + operationId: InterfaceEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - InterfaceEndpoints + x-ms-examples: + Delete interface endpoint: + parameters: + api-version: '2019-02-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified interface endpoint by resource group. + operationId: InterfaceEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Get interface endpoint: + parameters: + api-version: '2019-02-01' + interfaceEndpointName: testIe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/interfaceEndpoints + put: + description: Creates or updates an interface endpoint in the specified resource group. + operationId: InterfaceEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the interface endpoint. + in: path + name: interfaceEndpointName + required: true + type: string + - description: Parameters supplied to the create or update interface endpoint operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/InterfaceEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + '201': + description: Create successful. The operation returns the resulting InterfaceEndpoint resource. + schema: + $ref: '#/definitions/InterfaceEndpoint' + tags: + - InterfaceEndpoints + x-ms-examples: + Create interface endpoint: + parameters: + api-version: '2019-02-01' + interfaceEndpointName: testIe + parameters: + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/interfaceEndpoints/testIe + location: eastus + name: testIe + properties: + endpointService: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName + fqdn: uniqueIdentifier.fqdn.windows.net + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testIe.nic.abcd1234 + owner: User + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + EndpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + InterfaceEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Interface endpoint resource. + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/InterfaceEndpointProperties' + description: Properties of the interface endpoint. + x-ms-client-flatten: true + InterfaceEndpointListResult: + description: Response for the ListInterfaceEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of InterfaceEndpoint resources in a resource group. + items: + $ref: '#/definitions/InterfaceEndpoint' + type: array + InterfaceEndpointProperties: + description: Properties of the interface endpoint. + properties: + endpointService: + description: Identifies the service being brought into the virtual network. + properties: + id: + description: A unique identifier of the service being referenced by the interface endpoint. + type: string + fqdn: + description: A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint. + type: string + networkInterfaces: + description: Gets an array of references to the network interfaces created for this interface endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + owner: + description: A read-only property that identifies who created this interface endpoint. + readOnly: true + type: string + provisioningState: + description: 'The provisioning state of the interface endpoint. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a5f6942267c48b6cbe3feba8a18079837bb390c6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-09-01/swagger.yaml @@ -0,0 +1,702 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-ipGroups + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups': + get: + description: Gets all IpGroups in a subscription. + operationId: IpGroups_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ipGroups resources. + schema: + $ref: '#/definitions/IpGroupListResult' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + List_IpGroups: + parameters: + api-version: '2019-09-01' + subscriptionId: subId + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups + location: westcentralus + name: iptag1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups + location: centralus + name: iptag2 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 14.64.39.16/32 + - 41.74.146.80/31 + - 42.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups': + get: + description: Gets all IpGroups in a resource group. + operationId: IpGroups_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ipGroups resources. + schema: + $ref: '#/definitions/IpGroupListResult' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + ListByResourceGroup_IpGroups: + parameters: + api-version: '2019-09-01' + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups + location: centralus + name: ipGroups2 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 14.64.39.16/32 + - 41.74.146.80/31 + - 42.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}': + delete: + description: Deletes the specified ipGroups. + operationId: IpGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Delete_IpGroups: + parameters: + api-version: '2019-09-01' + ipGroupsName: ipGroups1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ipGroups. + operationId: IpGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting IpGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Get_IpGroups: + parameters: + api-version: '2019-09-01' + ipGroupsName: ipGroups1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + patch: + description: Updates tags of an IpGroups resource. + operationId: IpGroups_UpdateGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Parameters supplied to the update ipGroups operation. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Update_IpGroups: + parameters: + api-version: '2019-09-01' + ipGroupsName: ipGroups1 + parameters: + tags: + key1: value1 + key2: value2 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + tags: + key1: value1 + key2: value2 + type: Microsoft.Network/ipGroups + put: + description: Creates or updates an ipGroups in a specified resource group. + operationId: IpGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Parameters supplied to the create or update IpGroups operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/IpGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + '201': + description: Create successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + CreateOrUpdate_IpGroups: + parameters: + api-version: '2019-09-01' + ipGroupsName: ipGroups1 + parameters: + location: West US + properties: + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + tags: + key1: value1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + IpGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: The IpGroups resource information. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/IpGroupPropertiesFormat' + description: Properties of the IpGroups. + x-ms-client-flatten: true + IpGroupListResult: + description: Response for the ListIpGroups API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: The list of IpGroups information resources. + items: + $ref: '#/definitions/IpGroup' + type: array + IpGroupPropertiesFormat: + description: The IpGroups property information. + properties: + firewalls: + description: List of references to Azure resources that this IpGroups is associated with. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + ipAddresses: + description: IpAddresses/IpAddressPrefixes in the IpGroups resource. + items: + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7ac8cebaf87fda0e7a266cfa78c40a75cd8b020b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-ipGroups/2019-11-01/swagger.yaml @@ -0,0 +1,702 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/ipGroups.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-ipGroups + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups': + get: + description: Gets all IpGroups in a subscription. + operationId: IpGroups_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ipGroups resources. + schema: + $ref: '#/definitions/IpGroupListResult' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + List_IpGroups: + parameters: + api-version: '2019-11-01' + subscriptionId: subId + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups + location: westcentralus + name: iptag1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups + location: centralus + name: iptag2 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 14.64.39.16/32 + - 41.74.146.80/31 + - 42.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups': + get: + description: Gets all IpGroups in a resource group. + operationId: IpGroups_ListByResourceGroup + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of ipGroups resources. + schema: + $ref: '#/definitions/IpGroupListResult' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + ListByResourceGroup_IpGroups: + parameters: + api-version: '2019-11-01' + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + value: + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + - etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups + location: centralus + name: ipGroups2 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 14.64.39.16/32 + - 41.74.146.80/31 + - 42.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}': + delete: + description: Deletes the specified ipGroups. + operationId: IpGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Delete_IpGroups: + parameters: + api-version: '2019-11-01' + ipGroupsName: ipGroups1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified ipGroups. + operationId: IpGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting IpGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Get_IpGroups: + parameters: + api-version: '2019-11-01' + ipGroupsName: ipGroups1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + patch: + description: Updates tags of an IpGroups resource. + operationId: IpGroups_UpdateGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Parameters supplied to the update ipGroups operation. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + Update_IpGroups: + parameters: + api-version: '2019-11-01' + ipGroupsName: ipGroups1 + parameters: + tags: + key1: value1 + key2: value2 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + tags: + key1: value1 + key2: value2 + type: Microsoft.Network/ipGroups + put: + description: Creates or updates an ipGroups in a specified resource group. + operationId: IpGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ipGroups. + in: path + name: ipGroupsName + required: true + type: string + - description: Parameters supplied to the create or update IpGroups operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/IpGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + '201': + description: Create successful. The operation returns the resulting ipGroups resource. + schema: + $ref: '#/definitions/IpGroup' + default: + description: Unexpected error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - IpGroups + x-ms-examples: + CreateOrUpdate_IpGroups: + parameters: + api-version: '2019-11-01' + ipGroupsName: ipGroups1 + parameters: + location: West US + properties: + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + tags: + key1: value1 + resourceGroupName: myResourceGroup + subscriptionId: subId + responses: + '200': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + '201': + body: + etag: w/\00000000-0000-0000-0000-000000000000\ + id: /subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1 + location: westcentralus + name: ipGroups1 + properties: + firewalls: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall + ipAddresses: + - 13.64.39.16/32 + - 40.74.146.80/31 + - 40.74.147.32/28 + provisioningState: Succeeded + type: Microsoft.Network/ipGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + IpGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: The IpGroups resource information. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/IpGroupPropertiesFormat' + description: Properties of the IpGroups. + x-ms-client-flatten: true + IpGroupListResult: + description: Response for the ListIpGroups API service call. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: The list of IpGroups information resources. + items: + $ref: '#/definitions/IpGroup' + type: array + IpGroupPropertiesFormat: + description: The IpGroups property information. + properties: + firewalls: + description: List of references to Azure resources that this IpGroups is associated with. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + ipAddresses: + description: IpAddresses/IpAddressPrefixes in the IpGroups resource. + items: + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b9160013179b6fe3ae315267e02ef3b7bb84425e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2015-06-15/swagger.yaml @@ -0,0 +1,754 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true +definitions: + BackendAddressPool: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + subnet: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backed IP. + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancingRule: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + OutboundNatRule: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1251bcc1b1369d1a0c39f2fac00c997f6bffdc30 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-09-01/swagger.yaml @@ -0,0 +1,737 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true +definitions: + BackendAddressPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + subnet: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + InboundNatPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backed IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancingRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + OutboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a2a2f21e12b053059cab5c53f975fc503f2490e5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2016-12-01/swagger.yaml @@ -0,0 +1,737 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true +definitions: + BackendAddressPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + subnet: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + InboundNatPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backed IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancingRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + OutboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d5cc9bd66ae73bc5faf2231a496518f787d33a41 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-03-01/swagger.yaml @@ -0,0 +1,737 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true +definitions: + BackendAddressPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + subnet: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + InboundNatPool: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backed IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancingRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + OutboundNatRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8d4cabf587d139a4680515db71241351e22e7aa2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-06-01/swagger.yaml @@ -0,0 +1,2355 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2017-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2017-06-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2017-06-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2017-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2017-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2017-06-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2017-06-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bc9d9335f3c36b915166c12ca189cf2e5ab7243e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-08-01/swagger.yaml @@ -0,0 +1,2603 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2017-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2017-08-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2017-08-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2017-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2017-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2017-08-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2017-08-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..66b0474b66a8930bb81b9bba34cb4b058d6d193e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-09-01/swagger.yaml @@ -0,0 +1,2723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2017-09-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2017-09-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2017-09-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2017-09-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2017-09-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2017-09-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..651059f59a1bc6302b2cdd310bfb2fa71721b526 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-10-01/swagger.yaml @@ -0,0 +1,2723 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2017-10-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2017-10-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2017-10-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2017-10-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2017-10-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2017-10-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f1760a2877cd701307c2927f8b0f7857ac20f70a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2017-11-01/swagger.yaml @@ -0,0 +1,2846 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2017-11-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2017-11-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2017-11-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2017-11-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2017-11-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2017-11-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..84a8608b4e388013d07757770b72a5636c78b6e3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-01-01/swagger.yaml @@ -0,0 +1,2846 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-01-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-01-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-01-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-01-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-01-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-01-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8211fbab4fa88dc3540c268fb5170f0aed5d8c0f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-02-01/swagger.yaml @@ -0,0 +1,2847 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-02-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-02-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-02-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-02-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-02-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-02-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'' or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..aa6c625207ddb652d597196390935633d306f94d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-04-01/swagger.yaml @@ -0,0 +1,2984 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-04-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-04-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-04-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-04-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-04-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-04-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fa6b5eff4e44c34ae43f4465f819cf1cb9299b82 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-06-01/swagger.yaml @@ -0,0 +1,2984 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundNatRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundNatRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-06-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-06-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-06-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-06-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + description: Properties of load balancer outbound nat rule. + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..da1166e769533f47bbbc0f4a3fab6bbd8893b49c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-07-01/swagger.yaml @@ -0,0 +1,3307 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-07-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-07-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-07-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-07-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-07-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-07-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'Protocol - TCP, UDP or All' + enum: + - Tcp + - Udp + - All + type: string + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f1bc84809e075ce948d44acf7ebdd30f3c4022b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-08-01/swagger.yaml @@ -0,0 +1,3372 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-08-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-08-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-08-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-08-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'Protocol - TCP, UDP or All' + enum: + - Tcp + - Udp + - All + type: string + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4cd052d6f810cf1593ef8518615061f086d8d4bd --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-10-01/swagger.yaml @@ -0,0 +1,3372 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-10-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-10-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-10-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-10-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-10-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-10-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'Protocol - TCP, UDP or All' + enum: + - Tcp + - Udp + - All + type: string + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..593f1750fe821392e232647552eda093f0343ef3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-11-01/swagger.yaml @@ -0,0 +1,3368 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-11-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-11-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-11-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-11-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-11-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-11-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'Protocol - TCP, UDP or All' + enum: + - Tcp + - Udp + - All + type: string + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1ec76efcb56980962ab084cecf051d77cb40527e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2018-12-01/swagger.yaml @@ -0,0 +1,3372 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2018-12-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2018-12-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2018-12-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2018-12-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2018-12-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2018-12-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'Protocol - TCP, UDP or All' + enum: + - Tcp + - Udp + - All + type: string + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6a0c9be3e9b697696f3c637c9632cc7ad5dc2dc9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-02-01/swagger.yaml @@ -0,0 +1,3385 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2019-02-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2019-02-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2019-02-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2019-02-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2019-02-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2019-02-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the inbound NAT pool. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the load balancing rule. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection + type: integer + protocol: + description: 'The protocol for the outbound rule in load balancer. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerOutboundRuleProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'', ''Tcp'', or ''Https''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All'. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..edec2998affaaef44974aadd649f8d40e2616b3f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-04-01/swagger.yaml @@ -0,0 +1,3401 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2019-04-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2019-04-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2019-04-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2019-04-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2019-04-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2019-04-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the inbound NAT pool. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Object collection representing the load balancing rules Gets the provisioning. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer. + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer. + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port". + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: The load distribution policy for this rule. + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the load balancing rule. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. + type: integer + protocol: + description: The protocol for the outbound rule in load balancer. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerOutboundRuleProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6336a2a5043916cc81a69329da5d5d446f687430 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-06-01/swagger.yaml @@ -0,0 +1,3582 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2019-06-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2019-06-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2019-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2019-06-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2019-06-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2019-06-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: Gets collection of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: Gets outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: 'Get provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the inbound NAT pool. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Object collection representing the load balancing rules Gets the provisioning. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer. + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer. + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port". + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: The load distribution policy for this rule. + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the load balancing rule. + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. + type: integer + protocol: + description: The protocol for the outbound rule in load balancer. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerOutboundRuleProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e7a6b20d699b58300eaf1552c42d7fc5c8eb7c12 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-07-01/swagger.yaml @@ -0,0 +1,3654 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/loadBalancer.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2019-07-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2019-07-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2019-07-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2019-07-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2019-07-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2019-07-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: An array of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: An array of references to outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: An array of references to inbound pools that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: An array of references to inbound rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: An array of references to outbound rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the inbound NAT pool. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Object collection representing the load balancing rules Gets the provisioning. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer. + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer. + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port". + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: The load distribution policy for this rule. + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the load balancing rule. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. + type: integer + protocol: + description: The protocol for the outbound rule in load balancer. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerOutboundRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..720f487f1114f0dedb97e8f814e8f138edf277c1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-loadBalancer/2019-08-01/swagger.yaml @@ -0,0 +1,3654 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/loadBalancer.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-loadBalancer + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List all load balancers: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3 + location: westus + name: lb3 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: Gets all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer resources. + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-examples: + List load balancers in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + name: belb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + name: felb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + name: inrlb + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2 + location: westus + name: lb2 + properties: + backendAddressPools: [] + frontendIPConfigurations: [] + inboundNatPools: [] + inboundNatRules: [] + loadBalancingRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: Deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + Delete load balancer: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Get load balancer: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + patch: + description: Updates a load balancer tags. + operationId: LoadBalancers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to update load balancer tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Update load balancer tags: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: westus + name: lb + properties: + backendAddressPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + outboundRules: [] + probes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + put: + description: Creates or updates a load balancer. + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create or update load balancer operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: Create successful. The operation returns the resulting LoadBalancer resource. + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-examples: + Create load balancer: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Basic + type: Microsoft.Network/loadBalancers + Create load balancer with Frontend IP in Zone 1: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + zones: + - '1' + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with Standard SKU: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: [] + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: false + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: [] + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with inbound nat pool: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: [] + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + privateIPAllocationMethod: Dynamic + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + properties: + resourceNavigationLinks: [] + serviceEndpoints: [] + zones: [] + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: [] + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + name: test + properties: + inboundNatPools: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + privateIPAddress: 10.0.1.4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test + name: test + properties: + backendPort: 8888 + enableFloatingIP: true + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test + frontendPortRangeEnd: 8085 + frontendPortRangeStart: 8080 + idleTimeoutInMinutes: 10 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatPools + inboundNatRules: [] + loadBalancingRules: [] + outboundRules: [] + probes: [] + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + Create load balancer with outbound rules: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + parameters: + location: eastus + properties: + backendAddressPools: + - name: be-lb + properties: {} + frontendIPConfigurations: + - name: fe-lb + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + inboundNatPools: [] + inboundNatRules: + - name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + loadBalancingRules: + - name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + outboundRules: + - name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + protocol: All + probes: + - name: probe-lb + properties: + intervalInSeconds: 15 + numberOfProbes: 2 + port: 80 + protocol: Http + requestPath: healthcheck.aspx + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb + location: eastus + name: lb + properties: + backendAddressPools: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + name: be-lb + properties: + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + frontendIPConfigurations: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + name: fe-lb + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + outboundRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + inboundNatPools: [] + inboundNatRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule + name: in-nat-rule + properties: + backendPort: 3389 + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/inboundNatRules + loadBalancingRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + name: rulelb + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + backendPort: 80 + disableOutboundSnat: true + enableFloatingIP: true + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + outboundRules: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 1024 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb + enableTcpReset: false + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + idleTimeoutInMinutes: 4 + protocol: All + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + probes: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb + name: probe-lb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/loadBalancers + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools': + get: + description: Gets all the load balancer backed address pools. + operationId: LoadBalancerBackendAddressPools_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources. + schema: + $ref: '#/definitions/LoadBalancerBackendAddressPoolListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}': + get: + description: Gets load balancer backend address pool. + operationId: LoadBalancerBackendAddressPools_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the backend address pool. + in: path + name: backendAddressPoolName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer BackendAddressPool resource. + schema: + $ref: '#/definitions/BackendAddressPool' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerBackendAddressPoolGet: + parameters: + api-version: '2019-08-01' + backendAddressPoolName: backend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend + name: backend + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/backendAddressPools + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations': + get: + description: Gets all the load balancer frontend IP configurations. + operationId: LoadBalancerFrontendIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources. + schema: + $ref: '#/definitions/LoadBalancerFrontendIPConfigurationListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}': + get: + description: Gets load balancer frontend IP configuration. + operationId: LoadBalancerFrontendIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the frontend IP configuration. + in: path + name: frontendIPConfigurationName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource. + schema: + $ref: '#/definitions/FrontendIPConfiguration' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerFrontendIPConfigurationGet: + parameters: + api-version: '2019-08-01' + frontendIPConfigurationName: frontend + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend + name: frontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + type: Microsoft.Network/loadBalancers/frontendIPConfigurations + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules': + get: + description: Gets all the inbound nat rules in a load balancer. + operationId: InboundNatRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer InboundNatRule resources. + schema: + $ref: '#/definitions/InboundNatRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3 + name: natRule1.3 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3392 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}': + delete: + description: Deletes the specified load balancer inbound nat rule. + operationId: InboundNatRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleDelete: + parameters: + api-version: '2019-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified load balancer inbound nat rule. + operationId: InboundNatRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleGet: + parameters: + api-version: '2019-08-01' + inboundNatRuleName: natRule1.1 + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + put: + description: Creates or updates a load balancer inbound nat rule. + operationId: InboundNatRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the inbound nat rule. + in: path + name: inboundNatRuleName + required: true + type: string + - description: Parameters supplied to the create or update inbound nat rule operation. + in: body + name: inboundNatRuleParameters + required: true + schema: + $ref: '#/definitions/InboundNatRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + '201': + description: Create successful. The operation returns the resulting InboundNatRule resource. + schema: + $ref: '#/definitions/InboundNatRule' + tags: + - LoadBalancers + x-ms-examples: + InboundNatRuleCreate: + parameters: + api-version: '2019-08-01' + inboundNatRuleName: natRule1.1 + inboundNatRuleParameters: + properties: + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + '201': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1 + name: natRule1.1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1 + backendPort: 3389 + enableFloatingIP: false + enableTcpReset: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1 + frontendPort: 3390 + idleTimeoutInMinutes: 4 + protocol: Tcp + provisioningState: Succeeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules': + get: + description: Gets all the load balancing rules in a load balancer. + operationId: LoadBalancerLoadBalancingRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources. + schema: + $ref: '#/definitions/LoadBalancerLoadBalancingRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}': + get: + description: Gets the specified load balancer load balancing rule. + operationId: LoadBalancerLoadBalancingRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the load balancing rule. + in: path + name: loadBalancingRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting LoadBalancingRule resource. + schema: + $ref: '#/definitions/LoadBalancingRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerLoadBalancingRuleGet: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb1 + loadBalancingRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + enableTcpReset: true + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/loadBalancingRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces': + get: + description: Gets associated load balancer network interfaces. + operationId: LoadBalancerNetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + type: array + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerNetworkInterfaceListSimple: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic + location: westus + name: mynic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/networkInterfaces + LoadBalancerNetworkInterfaceListVmss: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0 + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0 + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic + name: vmss1Nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net + enableAcceleratedNetworking: false + enableIPForwarding: false + ipConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig + name: vmss1IpConfig + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1 + primary: true + privateIPAddress: 10.0.0.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default + macAddress: 00-00-00-00-00-00 + primary: true + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + virtualMachine: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules': + get: + description: Gets all the outbound rules in a load balancer. + operationId: LoadBalancerOutboundRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer OutboundRule resources. + schema: + $ref: '#/definitions/LoadBalancerOutboundRuleListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}': + get: + description: Gets the specified load balancer outbound rule. + operationId: LoadBalancerOutboundRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the outbound rule. + in: path + name: outboundRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting OutboundRule resource. + schema: + $ref: '#/definitions/OutboundRule' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerOutboundRuleGet: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb1 + outboundRuleName: rule1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1 + name: rule1 + properties: + allocatedOutboundPorts: 64 + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1 + enableTcpReset: true + frontendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + type: Microsoft.Network/loadBalancers/outboundRules + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes': + get: + description: Gets all the load balancer probes. + operationId: LoadBalancerProbes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of LoadBalancer Probe resources. + schema: + $ref: '#/definitions/LoadBalancerProbeListResult' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeList: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb + name: prlb + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}': + get: + description: Gets load balancer probe. + operationId: LoadBalancerProbes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the load balancer. + in: path + name: loadBalancerName + required: true + type: string + - description: The name of the probe. + in: path + name: probeName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns LoadBalancer Probe resource. + schema: + $ref: '#/definitions/Probe' + tags: + - LoadBalancers + x-ms-examples: + LoadBalancerProbeGet: + parameters: + api-version: '2019-08-01' + loadBalancerName: lb + probeName: probe1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + type: Microsoft.Network/loadBalancers/probes +definitions: + BackendAddressPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + BackendAddressPoolPropertiesFormat: + description: Properties of the backend address pool. + properties: + backendIPConfigurations: + description: An array of references to IP addresses defined in network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRule: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + outboundRules: + description: An array of references to outbound rules that use this backend address pool. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + FrontendIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: An array of references to inbound pools that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: An array of references to inbound rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: An array of references to load balancing rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundRules: + description: An array of references to outbound rules that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the Public IP resource. + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + InboundNatPool: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + description: Properties of load balancer inbound nat pool. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the inbound NAT pool. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + InboundNatRuleListResult: + description: Response for ListInboundNatRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of inbound nat rules in a load balancer. + items: + $ref: '#/definitions/InboundNatRule' + type: array + InboundNatRulePropertiesFormat: + description: Properties of the inbound NAT rule. + properties: + backendIPConfiguration: + $ref: './networkInterface.json#/definitions/NetworkInterfaceIPConfiguration' + description: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. + readOnly: true + backendPort: + description: The port used for the internal endpoint. Acceptable values range from 1 to 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + LoadBalancer: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + description: Properties of load balancer. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/LoadBalancerSku' + description: The load balancer SKU. + LoadBalancerBackendAddressPoolListResult: + description: Response for ListBackendAddressPool API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of backend address pools in a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + LoadBalancerFrontendIPConfigurationListResult: + description: Response for ListFrontendIPConfiguration API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of frontend IP configurations in a load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + LoadBalancerListResult: + description: Response for ListLoadBalancers API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers in a resource group. + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerLoadBalancingRuleListResult: + description: Response for ListLoadBalancingRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancing rules in a load balancer. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + LoadBalancerOutboundRuleListResult: + description: Response for ListOutboundRule API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of outbound rules in a load balancer. + items: + $ref: '#/definitions/OutboundRule' + type: array + LoadBalancerProbeListResult: + description: Response for ListProbe API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of probes in a load balancer. + items: + $ref: '#/definitions/Probe' + type: array + LoadBalancerPropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer. + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer. + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Object collection representing the load balancing rules Gets the provisioning. + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundRules: + description: The outbound rules. + items: + $ref: '#/definitions/OutboundRule' + type: array + probes: + description: Collection of probe objects used in the load balancer. + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + LoadBalancerSku: + description: SKU of a load balancer. + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + LoadBalancingRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + description: Properties of load balancer load balancing rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port". + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: The load distribution policy for this rule. + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + $ref: '#/definitions/TransportProtocol' + description: The reference to the transport protocol used by the load balancing rule. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - protocol + - frontendPort + NetworkInterfacePropertiesFormat: {} + OutboundRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/OutboundRulePropertiesFormat' + description: Properties of load balancer outbound rule. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + OutboundRulePropertiesFormat: + description: Outbound rule of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + enableTcpReset: + description: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + type: boolean + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. + type: integer + protocol: + description: The protocol for the outbound rule in load balancer. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerOutboundRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + required: + - backendAddressPool + - frontendIPConfigurations + - protocol + Probe: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + description: Properties of load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + ProbePropertiesFormat: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' or ''Https'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + - Https + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + TransportProtocol: + description: The transport protocol for the endpoint. + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..727f8a3c9aa6228cf7f72ca557529564002a2ac3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-02-01/swagger.yaml @@ -0,0 +1,554 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/natGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-natGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways': + get: + description: Gets all the Nat Gateways in a subscription. + operationId: NatGateways_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List all nat gateways: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways': + get: + description: Gets all nat gateways in a resource group. + operationId: NatGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List nat gateways in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}': + delete: + description: Deletes the specified nat gateway. + operationId: NatGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NatGateways + x-ms-examples: + Delete nat gateway: + parameters: + api-version: '2019-02-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified nat gateway in a specified resource group. + operationId: NatGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Get nat gateway: + parameters: + api-version: '2019-02-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + patch: + description: Updates nat gateway tags. + operationId: NatGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to update nat gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Update nat gateway tags: + parameters: + api-version: '2019-02-01' + natGatewayName: test-natGateway + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/natGateways + put: + description: Creates or updates a nat gateway. + operationId: NatGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to the create or update nat gateway operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NatGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '201': + description: Create successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Create nat gateway: + parameters: + api-version: '2019-02-01' + natGatewayName: test-natgateway + parameters: + properties: + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NatGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Nat Gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NatGatewayPropertiesFormat' + description: Nat Gateway properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/NatGatewaySku' + description: The nat gateway SKU. + NatGatewayListResult: + description: Response for ListNatGateways API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of Nat Gateways that exists in a resource group. + items: + $ref: '#/definitions/NatGateway' + type: array + NatGatewayPropertiesFormat: + description: Nat Gateway properties. + properties: + idleTimeoutInMinutes: + description: The idle timeout of the nat gateway. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the NatGateway resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIpAddresses: + description: An array of public ip addresses associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + publicIpPrefixes: + description: An array of public ip prefixes associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + resourceGuid: + description: The resource GUID property of the nat gateway resource. + type: string + subnets: + description: An array of references to the subnets using this nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + NatGatewaySku: + description: SKU of nat gateway + properties: + name: + description: Name of Nat Gateway SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: NatGatewaySkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f8a3585d6a639dbc2b72fc0c0a1a6a2ad947e64 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-04-01/swagger.yaml @@ -0,0 +1,559 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/natGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-natGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways': + get: + description: Gets all the Nat Gateways in a subscription. + operationId: NatGateways_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List all nat gateways: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways': + get: + description: Gets all nat gateways in a resource group. + operationId: NatGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List nat gateways in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}': + delete: + description: Deletes the specified nat gateway. + operationId: NatGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NatGateways + x-ms-examples: + Delete nat gateway: + parameters: + api-version: '2019-04-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified nat gateway in a specified resource group. + operationId: NatGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Get nat gateway: + parameters: + api-version: '2019-04-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + patch: + description: Updates nat gateway tags. + operationId: NatGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to update nat gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Update nat gateway tags: + parameters: + api-version: '2019-04-01' + natGatewayName: test-natGateway + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/natGateways + put: + description: Creates or updates a nat gateway. + operationId: NatGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to the create or update nat gateway operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NatGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '201': + description: Create successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Create nat gateway: + parameters: + api-version: '2019-04-01' + natGatewayName: test-natgateway + parameters: + properties: + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NatGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Nat Gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NatGatewayPropertiesFormat' + description: Nat Gateway properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/NatGatewaySku' + description: The nat gateway SKU. + zones: + description: A list of availability zones denoting the zone in which Nat Gateway should be deployed. + items: + type: string + type: array + NatGatewayListResult: + description: Response for ListNatGateways API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of Nat Gateways that exists in a resource group. + items: + $ref: '#/definitions/NatGateway' + type: array + NatGatewayPropertiesFormat: + description: Nat Gateway properties. + properties: + idleTimeoutInMinutes: + description: The idle timeout of the nat gateway. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the NatGateway resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIpAddresses: + description: An array of public ip addresses associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + publicIpPrefixes: + description: An array of public ip prefixes associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + resourceGuid: + description: The resource GUID property of the nat gateway resource. + type: string + subnets: + description: An array of references to the subnets using this nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + NatGatewaySku: + description: SKU of nat gateway. + properties: + name: + description: Name of Nat Gateway SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: NatGatewaySkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..50ca94d0531a01affe48035c91258518a0b91cc9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-06-01/swagger.yaml @@ -0,0 +1,578 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/natGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-natGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways': + get: + description: Gets all the Nat Gateways in a subscription. + operationId: NatGateways_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List all nat gateways: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways': + get: + description: Gets all nat gateways in a resource group. + operationId: NatGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List nat gateways in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}': + delete: + description: Deletes the specified nat gateway. + operationId: NatGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NatGateways + x-ms-examples: + Delete nat gateway: + parameters: + api-version: '2019-06-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified nat gateway in a specified resource group. + operationId: NatGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Get nat gateway: + parameters: + api-version: '2019-06-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + patch: + description: Updates nat gateway tags. + operationId: NatGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to update nat gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Update nat gateway tags: + parameters: + api-version: '2019-06-01' + natGatewayName: test-natGateway + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/natGateways + put: + description: Creates or updates a nat gateway. + operationId: NatGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to the create or update nat gateway operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NatGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '201': + description: Create successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Create nat gateway: + parameters: + api-version: '2019-06-01' + natGatewayName: test-natgateway + parameters: + location: westus + properties: + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '202': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NatGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Nat Gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NatGatewayPropertiesFormat' + description: Nat Gateway properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/NatGatewaySku' + description: The nat gateway SKU. + zones: + description: A list of availability zones denoting the zone in which Nat Gateway should be deployed. + items: + type: string + type: array + NatGatewayListResult: + description: Response for ListNatGateways API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of Nat Gateways that exists in a resource group. + items: + $ref: '#/definitions/NatGateway' + type: array + NatGatewayPropertiesFormat: + description: Nat Gateway properties. + properties: + idleTimeoutInMinutes: + description: The idle timeout of the nat gateway. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the NatGateway resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIpAddresses: + description: An array of public ip addresses associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + publicIpPrefixes: + description: An array of public ip prefixes associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + resourceGuid: + description: The resource GUID property of the nat gateway resource. + type: string + subnets: + description: An array of references to the subnets using this nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + NatGatewaySku: + description: SKU of nat gateway. + properties: + name: + description: Name of Nat Gateway SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: NatGatewaySkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bad05fc45959381ec57ad679fc99b13221db0f7c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-07-01/swagger.yaml @@ -0,0 +1,587 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/natGateway.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-natGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways': + get: + description: Gets all the Nat Gateways in a subscription. + operationId: NatGateways_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List all nat gateways: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways': + get: + description: Gets all nat gateways in a resource group. + operationId: NatGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List nat gateways in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}': + delete: + description: Deletes the specified nat gateway. + operationId: NatGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NatGateways + x-ms-examples: + Delete nat gateway: + parameters: + api-version: '2019-07-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified nat gateway in a specified resource group. + operationId: NatGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Get nat gateway: + parameters: + api-version: '2019-07-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + patch: + description: Updates nat gateway tags. + operationId: NatGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to update nat gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Update nat gateway tags: + parameters: + api-version: '2019-07-01' + natGatewayName: test-natGateway + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/natGateways + put: + description: Creates or updates a nat gateway. + operationId: NatGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to the create or update nat gateway operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NatGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '201': + description: Create successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Create nat gateway: + parameters: + api-version: '2019-07-01' + natGatewayName: test-natgateway + parameters: + location: westus + properties: + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '202': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NatGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Nat Gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NatGatewayPropertiesFormat' + description: Nat Gateway properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/NatGatewaySku' + description: The nat gateway SKU. + zones: + description: A list of availability zones denoting the zone in which Nat Gateway should be deployed. + items: + type: string + type: array + NatGatewayListResult: + description: Response for ListNatGateways API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of Nat Gateways that exists in a resource group. + items: + $ref: '#/definitions/NatGateway' + type: array + NatGatewayPropertiesFormat: + description: Nat Gateway properties. + properties: + idleTimeoutInMinutes: + description: The idle timeout of the nat gateway. + format: int32 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIpAddresses: + description: An array of public ip addresses associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + publicIpPrefixes: + description: An array of public ip prefixes associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + resourceGuid: + description: The resource GUID property of the NAT gateway resource. + type: string + subnets: + description: An array of references to the subnets using this nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + NatGatewaySku: + description: SKU of nat gateway. + properties: + name: + description: Name of Nat Gateway SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: NatGatewaySkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..02d850b264eb6d7a97ec751bf7476e8aa33178c3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-natGateway/2019-08-01/swagger.yaml @@ -0,0 +1,587 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/natGateway.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-natGateway + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways': + get: + description: Gets all the Nat Gateways in a subscription. + operationId: NatGateways_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List all nat gateways: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways': + get: + description: Gets all nat gateways in a resource group. + operationId: NatGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NatGateway resources. + schema: + $ref: '#/definitions/NatGatewayListResult' + tags: + - NatGateways + x-ms-examples: + List nat gateways in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2 + location: westus + name: test-natGateway2 + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}': + delete: + description: Deletes the specified nat gateway. + operationId: NatGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NatGateways + x-ms-examples: + Delete nat gateway: + parameters: + api-version: '2019-08-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified nat gateway in a specified resource group. + operationId: NatGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Get nat gateway: + parameters: + api-version: '2019-08-01' + natGatewayName: test-natGateway + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + patch: + description: Updates nat gateway tags. + operationId: NatGateways_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to update nat gateway tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Update nat gateway tags: + parameters: + api-version: '2019-08-01' + natGatewayName: test-natGateway + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/natGateways + put: + description: Creates or updates a nat gateway. + operationId: NatGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the nat gateway. + in: path + name: natGatewayName + required: true + type: string + - description: Parameters supplied to the create or update nat gateway operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NatGateway' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '201': + description: Create successful. The operation returns the resulting NatGateway resource. + schema: + $ref: '#/definitions/NatGateway' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NatGateway' + tags: + - NatGateways + x-ms-examples: + Create nat gateway: + parameters: + api-version: '2019-08-01' + natGatewayName: test-natgateway + parameters: + location: westus + properties: + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + sku: + name: Standard + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + '202': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway + location: westus + name: test-natGateway + properties: + idleTimeoutInMinutes: 5 + provisioningState: Succeeded + publicIpAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + publicIpPrefixes: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1 + subnets: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1 + sku: + name: Standard + type: Microsoft.Network/natGateways + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NatGateway: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Nat Gateway resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NatGatewayPropertiesFormat' + description: Nat Gateway properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/NatGatewaySku' + description: The nat gateway SKU. + zones: + description: A list of availability zones denoting the zone in which Nat Gateway should be deployed. + items: + type: string + type: array + NatGatewayListResult: + description: Response for ListNatGateways API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of Nat Gateways that exists in a resource group. + items: + $ref: '#/definitions/NatGateway' + type: array + NatGatewayPropertiesFormat: + description: Nat Gateway properties. + properties: + idleTimeoutInMinutes: + description: The idle timeout of the nat gateway. + format: int32 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIpAddresses: + description: An array of public ip addresses associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + publicIpPrefixes: + description: An array of public ip prefixes associated with the nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + resourceGuid: + description: The resource GUID property of the NAT gateway resource. + type: string + subnets: + description: An array of references to the subnets using this nat gateway resource. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + NatGatewaySku: + description: SKU of nat gateway. + properties: + name: + description: Name of Nat Gateway SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: NatGatewaySkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bdf458490203401a0cb2fe84568bc996a5f5f824 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2015-06-15/swagger.yaml @@ -0,0 +1,389 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true +definitions: + IPConfiguration: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the public IP resource. + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + NetworkInterface: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: './loadBalancer.json#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: './loadBalancer.json#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + type: string + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: './networkSecurityGroup.json#/definitions/NetworkSecurityGroup' + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..37c951ad27f82573087017504f0e3bbedd8b2e4f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-09-01/swagger.yaml @@ -0,0 +1,623 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true +definitions: + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the public IP resource. + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + NetworkInterface: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: './loadBalancer.json#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: './loadBalancer.json#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: './networkSecurityGroup.json#/definitions/NetworkSecurityGroup' + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7950fcf93aadace8a82a136f731fb1cf75d1083c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2016-12-01/swagger.yaml @@ -0,0 +1,623 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true +definitions: + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the public IP resource. + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + NetworkInterface: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: './loadBalancer.json#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: './loadBalancer.json#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: './networkSecurityGroup.json#/definitions/NetworkSecurityGroup' + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..18fd76f3c81e98e31eba5c205cdd803ed0c7ec01 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-03-01/swagger.yaml @@ -0,0 +1,623 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-long-running-operation: true +definitions: + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + description: The reference of the public IP resource. + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource. + NetworkInterface: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + $ref: './loadBalancer.json#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + $ref: './loadBalancer.json#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: './publicIpAddress.json#/definitions/PublicIPAddress' + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + $ref: './networkSecurityGroup.json#/definitions/NetworkSecurityGroup' + description: The reference of the NetworkSecurityGroup resource. + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..475a804e83e2a99c4249b395390c280aa096371f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-06-01/swagger.yaml @@ -0,0 +1,1915 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2017-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2017-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2017-06-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2017-06-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2017-06-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2017-06-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2017-06-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2017-06-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2017-06-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: Get all load balancers in a network interface + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2017-06-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1d220ad6b04de2985ede73b7be1837c917e7fda9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-08-01/swagger.yaml @@ -0,0 +1,1966 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2017-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2017-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2017-08-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2017-08-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2017-08-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2017-08-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2017-08-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2017-08-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2017-08-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: List all load balancers in a network interface. + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2017-08-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: 'The transport protocol for the endpoint. Possible values are: ''Udp'' or ''Tcp''.' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: 'The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. ' + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp' + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + sku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5bab68b464edf9e522417351a589276ddf4e9083 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-09-01/swagger.yaml @@ -0,0 +1,2089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2017-09-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2017-09-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + patch: + description: Updates a network interface tags. + operationId: NetworkInterfaces_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to update network interface tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Update network interface tags: + parameters: + api-version: '2017-09-01' + networkInterfaceName: test-nic + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2017-09-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2017-09-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2017-09-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2017-09-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2017-09-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: List all load balancers in a network interface. + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2017-09-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is included. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + sku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f99cbfd9ef0c8ea58dd71eb06cf4ea40997952e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-10-01/swagger.yaml @@ -0,0 +1,2089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2017-10-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2017-10-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + patch: + description: Updates a network interface tags. + operationId: NetworkInterfaces_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to update network interface tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Update network interface tags: + parameters: + api-version: '2017-10-01' + networkInterfaceName: test-nic + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2017-10-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2017-10-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2017-10-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2017-10-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2017-10-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: List all load balancers in a network interface. + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2017-10-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is included. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + sku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c365e075f348d1d6fa1c95c8bba93908e64bd622 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2017-11-01/swagger.yaml @@ -0,0 +1,2096 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/networkInterface.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2017-11-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2017-11-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + patch: + description: Updates a network interface tags. + operationId: NetworkInterfaces_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to update network interface tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Update network interface tags: + parameters: + api-version: '2017-11-01' + networkInterfaceName: test-nic + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2017-11-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2017-11-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2017-11-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2017-11-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2017-11-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: List all load balancers in a network interface. + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2017-11-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is included. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + sku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d466967600203f0afd58c99de7c947345867870b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkInterface/2018-01-01/swagger.yaml @@ -0,0 +1,2096 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/networkInterface.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-networkInterface + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List all network interfaces: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: Gets all network interfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface resources. + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-examples: + List network interfaces in resource group: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2 + location: eastus + name: test-nic2 + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: Deletes the specified network interface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkInterfaces + x-ms-examples: + Delete network interface: + parameters: + api-version: '2018-01-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Get network interface: + parameters: + api-version: '2018-01-01' + networkInterfaceName: test-nic + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + internalDomainNameSuffix: test.bx.internal.cloudapp.net + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + macAddress: 00-0D-3A-1B-C7-21 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg + primary: true + provisioningState: Succeeded + virtualMachine: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkInterfaces + patch: + description: Updates a network interface tags. + operationId: NetworkInterfaces_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to update network interface tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Update network interface tags: + parameters: + api-version: '2018-01-01' + networkInterfaceName: test-nic + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + put: + description: Creates or updates a network interface. + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create or update network interface operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: Create successful. The operation returns the resulting NetworkInterface resource. + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-examples: + Create network interface: + parameters: + api-version: '2018-01-01' + networkInterfaceName: test-nic + parameters: + properties: + enableAcceleratedNetworking: true + ipConfigurations: + - name: ipconfig1 + properties: + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic + location: eastus + name: test-nic + properties: + dnsSettings: + appliedDnsServers: [] + dnsServers: [] + enableAcceleratedNetworking: true + enableIPForwarding: false + ipConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 172.20.2.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + provisioningState: Succeeded + type: Microsoft.Network/networkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: Gets all network security groups applied to a network interface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + List network interface effective network security groups: + parameters: + api-version: '2018-01-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - association: + networkInterface: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default + effectiveSecurityRules: + - access: Allow + destinationAddressPrefix: 0.0.0.0/32 + destinationPortRange: 6579-6579 + direction: Inbound + name: securityRules/rule1 + priority: 234 + protocol: Tcp + sourceAddressPrefix: 0.0.0.0/32 + sourcePortRange: 456-456 + - access: Allow + destinationAddressPrefix: 0.0.0.0/0 + destinationPortRange: 3389-3389 + direction: Inbound + name: securityRules/default-allow-rdp + priority: 1000 + protocol: Tcp + sourceAddressPrefix: 1.1.1.1/32 + sourcePortRange: 0-65535 + - access: Allow + destinationAddressPrefix: Internet + destinationPortRange: 0-65535 + direction: Outbound + expandedDestinationAddressPrefix: + - 32.0.0.0/3 + - 4.0.0.0/6 + - 2.0.0.0/7 + - 1.0.0.0/8 + name: defaultSecurityRules/AllowInternetOutBound + priority: 65001 + protocol: All + sourceAddressPrefix: 0.0.0.0/0 + sourcePortRange: 0-65535 + networkSecurityGroup: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Gets all route tables applied to a network interface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of EffectRoute resources. + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - NetworkInterfaces + x-ms-examples: + Show network interface effective route tables: + parameters: + api-version: '2018-01-01' + networkInterfaceName: nic1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - addressPrefix: + - 172.20.2.0/24 + nextHopIpAddress: [] + nextHopType: VnetLocal + source: Default + state: Active + - addressPrefix: + - 0.0.0.0/0 + nextHopIpAddress: [] + nextHopType: Internet + source: Default + state: Active + - addressPrefix: + - 10.0.0.0/8 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 100.64.0.0/10 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 172.16.0.0/12 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + - addressPrefix: + - 192.168.0.0/16 + nextHopIpAddress: [] + nextHopType: None + source: Default + state: Active + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations': + get: + description: Get all ip configurations in a network interface + operationId: NetworkInterfaceIPConfigurations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface IPConfiguration resources. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfigurationListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationList: + parameters: + api-version: '2018-01-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + primary: true + privateIPAddress: 10.0.0.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}': + get: + description: Gets the specified network interface ip configuration. + operationId: NetworkInterfaceIPConfigurations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: The name of the ip configuration name. + in: path + name: ipConfigurationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource. + schema: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceIPConfigurationGet: + parameters: + api-version: '2018-01-01' + ipConfigurationName: ipconfig1 + networkInterfaceName: mynic + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + loadBalancerBackendAddressPools: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + loadBalancerInboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers': + get: + description: List all load balancers in a network interface. + operationId: NetworkInterfaceLoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkInterface LoadBalancer resources. + schema: + $ref: '#/definitions/NetworkInterfaceLoadBalancerListResult' + tags: + - NetworkInterfaces + x-ms-examples: + NetworkInterfaceLoadBalancerList: + parameters: + api-version: '2018-01-01' + networkInterfaceName: nic1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1 + location: westus + name: lbname1 + properties: + backendAddressPools: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + name: bepool1 + properties: + backendIPConfigurations: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + provisioningState: Succeeded + frontendIPConfigurations: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + name: lbfrontend + properties: + inboundNatRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + privateIPAllocationMethod: Dynamic + provisioningState: Succeeded + publicIPAddress: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP + inboundNatPools: [] + inboundNatRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1 + name: inbound1 + properties: + backendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + backendPort: 3389 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 3389 + idleTimeoutInMinutes: 15 + protocol: Tcp + provisioningState: Succeeded + loadBalancingRules: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + name: rule1 + properties: + backendAddressPool: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1 + backendPort: 80 + enableFloatingIP: false + frontendIPConfiguration: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend + frontendPort: 80 + idleTimeoutInMinutes: 15 + loadDistribution: Default + probe: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + protocol: Tcp + provisioningState: Succeeded + outboundNatRules: [] + probes: + - etag: W/\"00000000-0000-0000-0000-000000000000\" + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1 + name: probe1 + properties: + intervalInSeconds: 15 + loadBalancingRules: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1 + numberOfProbes: 2 + port: 80 + protocol: Http + provisioningState: Succeeded + requestPath: healthcheck.aspx + provisioningState: Succeeded + resourceGuid: 00000000-0000-0000-0000-000000000000 + type: Microsoft.Network/loadBalancers + x-ms-pageable: + nextLinkName: nextLink +definitions: + BackendAddressPoolPropertiesFormat: {} + EffectiveNetworkSecurityGroup: + description: Effective network security group. + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + description: Associated resources. + effectiveSecurityRules: + description: A collection of effective security rules. + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + tagMap: + additionalProperties: + description: List of IP Addresses within the tag (key) + items: + type: string + type: array + description: Mapping of tags to list of IP Addresses included within the tag. + type: string + EffectiveNetworkSecurityGroupAssociation: + description: The effective network security group association. + properties: + networkInterface: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + subnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective network security groups. + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as seperator (e.g. 100-400), or an asterix (*)' + items: + type: string + type: array + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: The address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: The name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: The IP address of the next hop of the effective route. + items: + type: string + type: array + nextHopType: + description: 'The type of Azure hop the packet should be sent to. Possible values are: ''VirtualNetworkGateway'', ''VnetLocal'', ''Internet'', ''VirtualAppliance'', and ''None''.' + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: 'Who created the route. Possible values are: ''Unknown'', ''User'', ''VirtualNetworkGateway'', and ''Default''.' + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: 'The value of effective route. Possible values are: ''Active'' and ''Invalid''.' + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of effective routes. + items: + $ref: '#/definitions/EffectiveRoute' + type: array + IPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + description: Properties of the IP configuration + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: The private IP allocation method. Possible values are 'Static' and 'Dynamic'. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: {} + NetworkInterface: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IPConfiguration in a network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + description: Network interface IP configuration properties. + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of ip configurations. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IP configuration. + properties: + applicationGatewayBackendAddressPools: + description: The reference of ApplicationGatewayBackendAddressPool resource. + items: + $ref: './applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool' + type: array + applicationSecurityGroups: + description: Application security groups in which the IP configuration is included. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + loadBalancerBackendAddressPools: + description: The reference of LoadBalancerBackendAddressPool resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + loadBalancerInboundNatRules: + description: A list of references of LoadBalancerInboundNatRules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + primary: + description: Gets whether this is a primary customer address on the network interface. + type: boolean + privateIPAddress: + description: Private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: 'Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: 'Defines how a private IP address is assigned. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'The provisioning state of the network interface IP configuration. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + NetworkInterfaceListResult: + description: Response for the ListNetworkInterface API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of network interfaces in a resource group. + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfaceLoadBalancerListResult: + description: Response for list ip configurations API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of load balancers. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: LoadBalancer resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPools: + description: Collection of backend address pools used by a load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Pool of backend IP addresses. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + description: Properties of load balancer backend address pool. + x-ms-client-flatten: true + type: array + frontendIPConfigurations: + description: Object representing the frontend IPs to be used for the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Frontend IP Configuration of the load balancer. + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + loadBalancingRules: + description: Gets load balancing rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAllocationMethod: + description: 'The Private IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + inboundNatPools: + description: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of Inbound NAT pool. + properties: + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPortRangeEnd: + description: The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535. + format: int32 + type: integer + frontendPortRangeStart: + description: The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + type: array + inboundNatRules: + description: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Inbound NAT rule of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + description: Properties of load balancer inbound nat rule. + x-ms-client-flatten: true + type: array + loadBalancingRules: + description: 'Object collection representing the load balancing rules Gets the provisioning ' + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancing rule for a load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the load balancer. + properties: + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + backendPort: + description: The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port" + format: int32 + type: integer + disableOutboundSnat: + description: Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + type: boolean + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. + type: boolean + frontendIPConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendPort: + description: The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port" + format: int32 + type: integer + idleTimeoutInMinutes: + description: The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. + format: int32 + type: integer + loadDistribution: + description: 'The load distribution policy for this rule. Possible values are ''Default'', ''SourceIP'', and ''SourceIPProtocol''.' + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protocol: + description: The transport protocol for the endpoint. Possible values are 'Udp' or 'Tcp' or 'All.' + enum: + - Udp + - Tcp + - All + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - protocol + - frontendPort + type: array + outboundNatRules: + description: The outbound NAT rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Outbound NAT pool of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Outbound NAT pool of the load balancer. + properties: + allocatedOutboundPorts: + description: The number of outbound ports to be used for NAT. + format: int32 + type: integer + backendAddressPool: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + frontendIPConfigurations: + description: The Frontend IP addresses of the load balancer. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + required: + - backendAddressPool + type: array + probes: + description: Collection of probe objects used in the load balancer + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: A load balancer probe. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Load balancer probe resource. + properties: + intervalInSeconds: + description: 'The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.' + format: int32 + type: integer + loadBalancingRules: + description: The load balancer rules that use this probe. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + readOnly: true + type: array + numberOfProbes: + description: 'The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.' + format: int32 + type: integer + port: + description: 'The port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'The protocol of the end point. Possible values are: ''Http'' or ''Tcp''. If ''Tcp'' is specified, a received ACK is required for the probe to be successful. If ''Http'' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: 'Gets the provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + requestPath: + description: 'The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.' + type: string + required: + - protocol + - port + type: array + provisioningState: + description: 'Gets the provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the load balancer resource. + type: string + sku: + description: SKU of a load balancer + properties: + name: + description: Name of a load balancer SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: LoadBalancerSkuName + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + description: DNS settings of a network interface. + properties: + appliedDnsServers: + description: 'If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.' + items: + type: string + type: array + dnsServers: + description: 'List of DNS servers IP addresses. Use ''AzureProvidedDNS'' to switch to azure provided DNS resolution. ''AzureProvidedDNS'' value cannot be combined with other IPs, it must be the only value in dnsServers collection.' + items: + type: string + type: array + internalDnsNameLabel: + description: Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. + type: string + internalDomainNameSuffix: + description: 'Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.' + type: string + internalFqdn: + description: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. + type: string + enableAcceleratedNetworking: + description: If the network interface is accelerated networking enabled. + type: boolean + enableIPForwarding: + description: Indicates whether IP forwarding is enabled on this network interface. + type: boolean + ipConfigurations: + description: A list of IPConfigurations of the network interface. + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: The MAC address of the network interface. + type: string + networkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + primary: + description: Gets whether this is a primary network interface on a virtual machine. + type: boolean + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + type: string + virtualMachine: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + NetworkSecurityGroupPropertiesFormat: {} + PublicIPAddressPropertiesFormat: {} + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ec81ab7aac8f4505789caa5b934afb77418329c1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-08-01/swagger.yaml @@ -0,0 +1,899 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2018-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Public IP Prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2018-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2018-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2018-08-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2018-08-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..82246608fe6d430247b7f6cb7228716ecebc2bc1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-10-01/swagger.yaml @@ -0,0 +1,904 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2018-10-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Public IP Prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2018-10-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2018-10-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2018-10-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2018-10-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7b283740c8203c5c68919b3089a261197fe2d1d9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-11-01/swagger.yaml @@ -0,0 +1,904 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2018-11-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIPPrefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2018-11-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2018-11-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2018-11-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2018-11-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e60f0b839b67586a4d8c65b2b1791674217d6a86 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2018-12-01/swagger.yaml @@ -0,0 +1,904 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2018-12-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2018-12-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2018-12-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2018-12-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2018-12-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e3cf31134ca99e9d6c284713093b6eebe2802886 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-02-01/swagger.yaml @@ -0,0 +1,905 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2019-02-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2019-02-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2019-02-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2019-02-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2019-02-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + description: Properties of container network interface. + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a2d64c0e535ee8cbfb21e76ec59b4fb8806de6b8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-04-01/swagger.yaml @@ -0,0 +1,905 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2019-04-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2019-04-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2019-04-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2019-04-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2019-04-01' + location: westus + networkProfileName: networkProfile1 + parameters: + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + description: Properties of container network interface. + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c7bc6366265e21e30c4bcd008e10a05efed7f958 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-06-01/swagger.yaml @@ -0,0 +1,905 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2019-06-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2019-06-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2019-06-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2019-06-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2019-06-01' + networkProfileName: networkProfile1 + parameters: + location: westus + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + ContainerNetworkInterfacePropertiesFormat: + description: Properties of container network interface. + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The provisioning state of the resource. + readOnly: true + type: string + resourceGuid: + description: The resource GUID property of the network interface resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..26cdbfd07b07da13b7aba9f29d4da25f22c3467e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-07-01/swagger.yaml @@ -0,0 +1,945 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/networkProfile.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2019-07-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2019-07-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2019-07-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2019-07-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2019-07-01' + networkProfileName: networkProfile1 + parameters: + location: westus + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ContainerNetworkInterfacePropertiesFormat: + description: Properties of container network interface. + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the network profile resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1398213c8bf904c231ea1fbd61144494ac3ef991 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkProfile/2019-08-01/swagger.yaml @@ -0,0 +1,945 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/networkProfile.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-networkProfile + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all the network profiles in a subscription. + operationId: NetworkProfiles_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List all network profiles: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles': + get: + description: Gets all network profiles in a resource group. + operationId: NetworkProfiles_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkProfile resources. + schema: + $ref: '#/definitions/NetworkProfileListResult' + tags: + - NetworkProfiles + x-ms-examples: + List resource group network profiles: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2 + location: centraluseuap + name: networkProfile2 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + type: Microsoft.Network/networkProfiles + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}': + delete: + description: Deletes the specified network profile. + operationId: NetworkProfiles_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the NetworkProfile. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkProfiles + x-ms-examples: + Delete network profile: + parameters: + api-version: '2019-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network profile in a specified resource group. + operationId: NetworkProfiles_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: networkProfileName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Get network profile: + parameters: + api-version: '2019-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + Get network profile with container network interfaces: + parameters: + api-version: '2019-08-01' + networkProfileName: networkProfile1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: centraluseuap + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2 + name: ipconfigprofile2 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + containerNetworkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + ipConfigurations: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3 + name: ipconfigprofile3 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0 + name: containerGroup1_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1 + name: containerGroup1_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0 + name: containerGroup2_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1 + name: containerGroup2_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0 + name: containerGroup3_eth0 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + - etag: W/"de9b89d2-83b0-4da3-b488-6ea8b0557edd" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1 + name: containerGroup3_eth1 + properties: + container: + id: /subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3 + containerNetworkInterfaceConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + ipConfigurations: [] + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaces + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + patch: + description: Updates network profile tags. + operationId: NetworkProfiles_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to update network profile tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Update network profile tags: + parameters: + api-version: '2019-08-01' + networkProfileName: test-np + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np + location: centraluseuap + name: test-np + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0 + name: eth0 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1 + name: ipconfigprofile1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false + put: + description: Creates or updates a network profile. + operationId: NetworkProfiles_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network profile. + in: path + name: networkProfileName + required: true + type: string + - description: Parameters supplied to the create or update network profile operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkProfile' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + '201': + description: Create successful. The operation returns the resulting NetworkProfile resource. + schema: + $ref: '#/definitions/NetworkProfile' + tags: + - NetworkProfiles + x-ms-examples: + Create network profile defaults: + parameters: + api-version: '2019-08-01' + networkProfileName: networkProfile1 + parameters: + location: westus + properties: + containerNetworkInterfaceConfigurations: + - name: eth1 + properties: + ipConfigurations: + - name: ipconfig1 + properties: + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + '201': + body: + etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1 + location: westus + name: networkProfile1 + properties: + containerNetworkInterfaceConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1 + name: eth1 + properties: + ipConfigurations: + - etag: W/"4d705a71-752f-4e0a-8057-c02b125b1c08" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1 + name: ipconfig1 + properties: + provisioningState: Succeeded + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1 + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations + provisioningState: Succeeded + type: Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations + containerNetworkInterfaces: [] + provisioningState: Succeeded + resourceGuid: 1570d8b6-ab8a-4ad2-81d6-d2799b429cbf + type: Microsoft.Network/networkProfiles + x-ms-long-running-operation: false +definitions: + Container: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Reference to container resource in remote resource provider. + properties: {} + ContainerNetworkInterface: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfacePropertiesFormat' + description: Container network interface properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Container network interface configuration child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat' + description: Container network interface configuration properties. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceConfigurationPropertiesFormat: + description: Container network interface configuration properties. + properties: + containerNetworkInterfaces: + description: A list of container network interfaces created from this container network interface configuration. + items: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + type: array + ipConfigurations: + description: A list of ip configurations of the container network interface configuration. + items: + $ref: '#/definitions/IPConfigurationProfile' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ContainerNetworkInterfaceIpConfiguration: + description: The ip configuration for a container network interface. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat' + description: Properties of the container network interface IP configuration. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + ContainerNetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of the container network interface IP configuration. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + ContainerNetworkInterfacePropertiesFormat: + description: Properties of container network interface. + properties: + container: + $ref: '#/definitions/Container' + description: Reference to the container to which this container network interface is attached. + containerNetworkInterfaceConfiguration: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + description: Container network interface configuration from which this container network interface is created. + ipConfigurations: + description: Reference to the ip configuration on this container nic. + items: + $ref: '#/definitions/ContainerNetworkInterfaceIpConfiguration' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + IPConfigurationProfile: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: IP configuration profile child resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/IPConfigurationProfilePropertiesFormat' + description: Properties of the IP configuration profile. + x-ms-client-flatten: true + type: + description: Sub Resource type. + readOnly: true + type: string + IPConfigurationProfilePropertiesFormat: + description: IP configuration profile properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The reference of the subnet resource to create a container network interface ip configuration. + NetworkProfile: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network profile resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkProfilePropertiesFormat' + description: Network profile properties. + x-ms-client-flatten: true + NetworkProfileListResult: + description: Response for ListNetworkProfiles API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of network profiles that exist in a resource group. + items: + $ref: '#/definitions/NetworkProfile' + type: array + NetworkProfilePropertiesFormat: + description: Network profile properties. + properties: + containerNetworkInterfaceConfigurations: + description: List of chid container network interface configurations. + items: + $ref: '#/definitions/ContainerNetworkInterfaceConfiguration' + type: array + containerNetworkInterfaces: + description: List of child container network interfaces. + items: + $ref: '#/definitions/ContainerNetworkInterface' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the network profile resource. + readOnly: true + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c1fcce0bd0ecbdc1b531a3766d1da3c81b99a8b8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2015-06-15/swagger.yaml @@ -0,0 +1,664 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + type: array + SecurityRule: + allOf: + - description: Azure resource manager sub resource properties. + properties: + id: + description: Resource Identifier. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a84fc9c3e2f8d1d969eece47a74eb5051e7fd8a4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-09-01/swagger.yaml @@ -0,0 +1,662 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fa2003aa030f99994d625ef7f0d9f0427adbd329 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2016-12-01/swagger.yaml @@ -0,0 +1,662 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4ee3b0383eb6ba4f28621b59b0f882022d0b8bd4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-03-01/swagger.yaml @@ -0,0 +1,662 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2258117cd06fa14bc57509a7820e0e5509c802ef --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-06-01/swagger.yaml @@ -0,0 +1,1941 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2017-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2017-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2017-06-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2017-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b9fc53107ff1240424a908cc978c9ce52478a8f1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-08-01/swagger.yaml @@ -0,0 +1,1941 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2017-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2017-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2017-08-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2017-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1a4b68089285c334c422f82a5d5f6953f72aa2b5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-09-01/swagger.yaml @@ -0,0 +1,2432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2017-09-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2017-09-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..08c92570162f0c28f830bf6873cab86540ed93b3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-10-01/swagger.yaml @@ -0,0 +1,2432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2017-10-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2017-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..778e90a227d686f8fa7dbb4491a64e79ec18017a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2017-11-01/swagger.yaml @@ -0,0 +1,2432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2017-11-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2017-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d01e8888526db43e1dc558f139cf4b6e60a2c92b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-01-01/swagger.yaml @@ -0,0 +1,2432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-01-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-01-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f1624e680b1a410360d517a3a6a89384448fb2c7 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-02-01/swagger.yaml @@ -0,0 +1,2432 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-02-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..277133daf3d7748f0f1826901d4ef4d46ff49de2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-04-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-04-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..55aef9b649d941e6222e9c1ffb6f6933e8084d6f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-06-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-06-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f36e7c186cfaddedae92d96a709f74358888ac7c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-07-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-07-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2063945c88014b8d057f08d8c619442685e5af9d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-08-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-08-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c94fadfc2ab7a56cbcf22717afb9ccf666e58131 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-10-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-10-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-10-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..384019e7742e16f9370463b225252dcab14b6397 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-11-01/swagger.yaml @@ -0,0 +1,2511 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + parameters: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + parameters: + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-11-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-11-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f6a34cc1d5c4e1dad7bdf87d12319ad24a820f61 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2018-12-01/swagger.yaml @@ -0,0 +1,2513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2018-12-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2018-12-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..95f4cdc9374f5d4170d959f041562fe984a81149 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-02-01/swagger.yaml @@ -0,0 +1,2547 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2019-02-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2019-02-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleAccess: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + SecurityRuleDirection: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e1f7252b65968bf32ef77daff0aa69d83abe3bdb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-04-01/swagger.yaml @@ -0,0 +1,2547 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2019-04-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2019-04-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group. + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleAccess: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + SecurityRuleDirection: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..33918349edcff2fac1777077125731eaa528678a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-06-01/swagger.yaml @@ -0,0 +1,2547 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2019-06-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2019-06-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group. + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleAccess: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + SecurityRuleDirection: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f6538ad1f63dbf26865348caeacc3b3c94c6657f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-07-01/swagger.yaml @@ -0,0 +1,2656 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2019-07-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2019-07-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group. + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleAccess: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + SecurityRuleDirection: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2cc47554b1f56932d41c0e8c0fdfc62f43f56bf3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkSecurityGroup/2019-08-01/swagger.yaml @@ -0,0 +1,2660 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/networkSecurityGroup.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-networkSecurityGroup + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a subscription. + operationId: NetworkSecurityGroups_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List all network security groups: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: Gets all network security groups in a resource group. + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of NetworkSecurityGroup resources. + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-examples: + List network security groups in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + location: westus + name: nsg1 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3 + location: westus + name: nsg3 + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: Deletes the specified network security group. + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - NetworkSecurityGroups + x-ms-examples: + Delete network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Get network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + patch: + description: Updates a network security group tags. + operationId: NetworkSecurityGroups_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to update network security group tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Update network security group tags: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: westus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + put: + description: Creates or updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create or update network security group operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: Create successful. The operation returns the resulting NetworkSecurityGroup resource. + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-examples: + Create network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: [] + type: Microsoft.Network/networkSecurityGroups + Create network security group with rule: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + parameters: + location: eastus + properties: + securityRules: + - name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + sourceAddressPrefix: '*' + sourcePortRange: '*' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg + location: eastus + name: testnsg + properties: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationPortRange: '*' + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + provisioningState: Succeeded + securityRules: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + type: Microsoft.Network/networkSecurityGroups + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules': + get: + description: Gets all default security rules in a network security group. + operationId: DefaultSecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleList: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound + name: AllowAzureLoadBalancerInBound + properties: + access: Allow + description: Allow inbound traffic from azure load balancer + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: AzureLoadBalancer + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound + name: DenyAllInBound + properties: + access: Deny + description: Deny all inbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound + name: AllowVnetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound + name: AllowInternetOutBound + properties: + access: Allow + description: Allow outbound traffic from all VMs to Internet + destinationAddressPrefix: Internet + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65001 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + - id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound + name: DenyAllOutBound + properties: + access: Deny + description: Deny all outbound traffic + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Outbound + priority: 65500 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}': + get: + description: Get the specified default network security rule. + operationId: DefaultSecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the default security rule. + in: path + name: defaultSecurityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + DefaultSecurityRuleGet: + parameters: + api-version: '2019-08-01' + defaultSecurityRuleName: AllowVnetInBound + networkSecurityGroupName: nsg1 + resourceGroupName: testrg + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationAddressPrefixes: [] + destinationPortRange: '*' + destinationPortRanges: [] + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: Gets all security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of SecurityRule resources. + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-examples: + List network security rules in network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: Deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - SecurityRules + x-ms-examples: + Delete network security rule from network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Get the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Get network security rule in network security group: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Allow + destinationAddressPrefix: '*' + destinationPortRange: '80' + direction: Inbound + priority: 130 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourcePortRange: '*' + put: + description: Creates or updates a security rule in the specified network security group. + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create or update network security rule operation. + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: Create successful. The operation returns the resulting SecurityRule resource. + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-examples: + Create security rule: + parameters: + api-version: '2019-08-01' + networkSecurityGroupName: testnsg + resourceGroupName: rg1 + securityRuleName: rule1 + securityRuleParameters: + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1 + name: rule1 + properties: + access: Deny + destinationAddressPrefix: 11.0.0.0/8 + destinationPortRange: '8080' + direction: Outbound + priority: 100 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: 10.0.0.0/8 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + NetworkSecurityGroup: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: NetworkSecurityGroup resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + description: Properties of the network security group. + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of NetworkSecurityGroup resources. + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource. + properties: + defaultSecurityRules: + description: The default security rules of network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + networkInterfaces: + description: A collection of references to network interfaces. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: The resource GUID property of the network security group resource. + type: string + securityRules: + description: A collection of security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + subnets: + description: A collection of references to subnets. + items: + $ref: './virtualNetwork.json#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + SecurityRuleAccess: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + SecurityRuleDirection: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + SecurityRuleListResult: + description: Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: The security rules in a network security group. + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..97332a032441d50c1efdc703b9f4c5dc21a8b90a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-09-01/swagger.yaml @@ -0,0 +1,1475 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true +definitions: + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + NetworkWatcher: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..06fc8dfaa18952b92087f0c211ec01605aa19dd1 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2016-12-01/swagger.yaml @@ -0,0 +1,1475 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true +definitions: + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + NetworkWatcher: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c2eb6961302a78d416b61c19d1de26bf12615db --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-03-01/swagger.yaml @@ -0,0 +1,1667 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-long-running-operation: true +definitions: + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + NetworkWatcher: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationPortRange: + description: The destination port or range. + type: string + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourcePortRange: + description: The source port or range. + type: string + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..98524ba17450b080935790b4cdffe6a4e856cc18 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-06-01/swagger.yaml @@ -0,0 +1,2345 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List Network Watchers: + parameters: + api-version: '2017-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List Network Watchers: + parameters: + api-version: '2017-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete Network Watcher: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get Network Watcher: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create Network Watcher: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure Flow Logs: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check Connectivity: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Verify IP Flow: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Next Hop: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List Packet Captures: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete Packet Capture: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create Packet Capture: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create Packet Capture: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Get Packet Capture status: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop Packet Capture: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Query Flow Log Status: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Troubleshoot result: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Security Group View: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Troubleshoot Resource: + parameters: + api-version: '2017-06-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ba4d8897249d40afe3e6b8fa5e44575f755231d0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-08-01/swagger.yaml @@ -0,0 +1,2345 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List Network Watchers: + parameters: + api-version: '2017-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List Network Watchers: + parameters: + api-version: '2017-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete Network Watcher: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get Network Watcher: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create Network Watcher: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure Flow Logs: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check Connectivity: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Verify IP Flow: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Next Hop: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List Packet Captures: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete Packet Capture: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create Packet Capture: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create Packet Capture: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Get Packet Capture status: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop Packet Capture: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Query Flow Log Status: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Troubleshoot result: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get Security Group View: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Troubleshoot Resource: + parameters: + api-version: '2017-08-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..274a1ae9b3ecbf20dd3da0c598b629267af130d4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-09-01/swagger.yaml @@ -0,0 +1,2982 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure flow log: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Get flow log status: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2017-09-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + required: + - targetResourceGroupName + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..884d85a33b8f3762150db0bdb17ac6688c8a1b0e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-10-01/swagger.yaml @@ -0,0 +1,3585 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure flow log: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2017-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Get flow log status: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2017-10-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6837722f9e650657b13e5a91e61d52de26804365 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2017-11-01/swagger.yaml @@ -0,0 +1,3668 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure flow log: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting connection monitor resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting connection monitor resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2017-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + etag: W/"a3a2b157-1edc-44c2-a759-f881be9f0069" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Get flow log status: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + networkInterfaceAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/securityRules/default-allow-rdp + name: default-allow-rdp + properties: + access: Allow + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '3389' + destinationPortRanges: [] + direction: Inbound + priority: 1000 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + networkInterfaceAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/securityRules/default-allow-rdp + name: default-allow-rdp + properties: + access: Allow + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '3389' + destinationPortRanges: [] + direction: Inbound + priority: 1000 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2017-11-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + required: + - location + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7cd179dfa6ddbe7692887f4087b566e905f29d8a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-01-01/swagger.yaml @@ -0,0 +1,3752 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + location: eastus + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log and traffic analytics (if opted) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: true + workspaceId: 00000000-0000-0000-0000-000000000000 + workspaceRegion: location1 + workspaceResourceId: /subscriptions/ws_subid/resourcegroups/ws_rg/providers/microsoft.operationalinsights/workspaces/ws1 + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: true + workspaceId: 00000000-0000-0000-0000-000000000000 + workspaceRegion: location1 + workspaceResourceId: /subscriptions/ws_subid/resourcegroups/ws_rg/providers/microsoft.operationalinsights/workspaces/ws1 + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting connection monitor resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting connection monitor resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-01-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + etag: W/"a3a2b157-1edc-44c2-a759-f881be9f0069" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-01-08T03:42:33.3387305Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log and traffic analytics status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: true + workspaceId: 00000000-0000-0000-0000-000000000000 + workspaceRegion: location1 + workspaceResourceId: /subscriptions/ws_subid/resourcegroups/ws_rg/providers/microsoft.operationalinsights/workspaces/ws1 + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: true + workspaceId: 00000000-0000-0000-0000-000000000000 + workspaceRegion: location1 + workspaceResourceId: /subscriptions/ws_subid/resourcegroups/ws_rg/providers/microsoft.operationalinsights/workspaces/ws1 + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + networkInterfaceAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/securityRules/default-allow-rdp + name: default-allow-rdp + properties: + access: Allow + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '3389' + destinationPortRanges: [] + direction: Inbound + priority: 1000 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + networkInterfaceAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1/securityRules/default-allow-rdp + name: default-allow-rdp + properties: + access: Allow + destinationAddressPrefix: '*' + destinationAddressPrefixes: [] + destinationPortRange: '3389' + destinationPortRanges: [] + direction: Inbound + priority: 1000 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: '*' + sourceAddressPrefixes: [] + sourcePortRange: '*' + sourcePortRanges: [] + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-01-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional). + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + x-ms-client-flatten: true + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow logging and traffic analytics (optional) status. + type: string + required: + - targetResourceId + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the network watcher. + readOnly: true + type: string + name: + description: Name of the network watcher. + readOnly: true + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + type: + description: Network watcher type. + readOnly: true + type: string + required: + - location + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + id: + description: ID of the packet capture. + readOnly: true + type: string + name: + description: Name of the packet capture. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + type: + description: Packet capture type. + readOnly: true + type: string + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture. + readOnly: true + type: string + name: + description: Name of the packet capture. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + type: + description: Packet capture type. + readOnly: true + type: string + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: Protocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3db4623e686ccb318e4f9c5e9d22637cd64db005 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-02-01/swagger.yaml @@ -0,0 +1,3645 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for setting flow log configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful request for query flow log status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-02-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log. + properties: + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow logging. + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log status. + properties: + targetResourceId: + description: The target resource where getting the flow logging status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..97143d694a7884865ec4027d13d95edd37284f75 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-04-01/swagger.yaml @@ -0,0 +1,3949 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-04-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..13b1e045eaf8b6c6c806d14274b3038e2d27cbc8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-06-01/swagger.yaml @@ -0,0 +1,4398 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + queries: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + trafficQuery: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + trafficQuery: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-06-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + queries: + description: List of traffic queries. + items: + $ref: '#/definitions/TrafficQuery' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + required: + - targetResourceId + - queries + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + trafficQuery: + $ref: '#/definitions/TrafficQuery' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TrafficQuery: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..263b872ef6fab8730287d037940c8e4c40176a9a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-07-01/swagger.yaml @@ -0,0 +1,4398 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-07-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + queries: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + trafficQuery: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + trafficQuery: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-07-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + queries: + description: List of traffic queries. + items: + $ref: '#/definitions/TrafficQuery' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + required: + - targetResourceId + - queries + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + trafficQuery: + $ref: '#/definitions/TrafficQuery' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TrafficQuery: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8e3c54c8640344f2ca27eef31e2d5a5b81ed13ac --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-08-01/swagger.yaml @@ -0,0 +1,4415 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-08-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-08-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: 'Verbosity level. Accepted values are ''Normal'', ''Minimum'', ''Full''.' + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..da7e3c5d9d315027da9757cb39acc876f5633758 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-10-01/swagger.yaml @@ -0,0 +1,4435 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-10-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-10-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: 'Verbosity level. Accepted values are ''Normal'', ''Minimum'', ''Full''.' + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics + type: integer + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8f50f0e1db4347debfd3ad8351a06e19bc27b6d9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-11-01/swagger.yaml @@ -0,0 +1,4435 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-11-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Uknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: 'Verbosity level. Accepted values are ''Normal'', ''Minimum'', ''Full''.' + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisks ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisks '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics + type: integer + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..02cfddcc272da7c44abd5c63b0ab9397d6e13af0 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2018-12-01/swagger.yaml @@ -0,0 +1,4435 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2018-12-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2018-12-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Unknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The provisioning state of the connection monitor. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + source: + $ref: '#/definitions/ConnectivitySource' + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + ErrorResponse: + description: The error object. + properties: + error: + properties: + code: + type: string + message: + type: string + target: + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + properties: + $ref: '#/definitions/FlowLogProperties' + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: 'Verbosity level. Accepted values are ''Normal'', ''Minimum'', ''Full''.' + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + description: The direction of the traffic. Accepted values are 'Inbound' and 'Outbound'. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + x-ms-client-flatten: true + NetworkWatcherListResult: + description: List of network watcher resources. + properties: + value: + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The provisioning state of the resource. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The provisioning state of the packet capture session. + enum: + - Succeeded + - Updating + - Deleting + - Failed + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: 'Whether network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: 'The direction of the rule. Possible values are: ''Inbound and Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + SubnetAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: 'The network traffic is allowed or denied. Possible values are: ''Allow'' and ''Deny''.' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: 'The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: ''Inbound'' and ''Outbound''.' + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', and ''*''.' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics + type: integer + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + description: The direction of the packet represented as a 5-tuple. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Indicates whether the traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f15e358d1980c398c1344e8fe7898e0986ea6727 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-02-01/swagger.yaml @@ -0,0 +1,4513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2019-02-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-02-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + description: Properties of the connection monitor. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + description: Describes the destination of connection monitor. + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + description: Describes the source of connection monitor. + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Unknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + description: Properties of the connection monitor result. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: 'Verbosity level. Accepted values are ''Normal'', ''Minimum'', ''Full''.' + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: 'The network protocol this rule applies to. Possible values are: ''Tcp'', ''Udp'', and ''All''.' + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*)' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Network protocol this rule applies to. Possible values are ''Tcp'', ''Udp'', ''Icmp'', ''Esp'', and ''*''.' + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics + type: integer + workspaceId: + description: The resource guid of the attached workspace + type: string + workspaceRegion: + description: The location of the attached workspace + type: string + workspaceResourceId: + description: 'Resource Id of the attached workspace ' + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..525232573322aa1aa996909cb2e7256934de13f5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-04-01/swagger.yaml @@ -0,0 +1,4513 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2019-04-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-04-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + description: Properties of the connection monitor. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + description: Describes the destination of connection monitor. + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + description: Describes the source of connection monitor. + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Unknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + description: Properties of the connection monitor result. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8ce2ffaa403f17e1dc97572a0f5e8f968b673fd3 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-06-01/swagger.yaml @@ -0,0 +1,3795 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: Get network configuration diagnostic. + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: 'The provisioning state of the public IP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: 'The provisioning state of the application security group resource. Possible values are: ''Succeeded'', ''Updating'', ''Deleting'', and ''Failed''.' + readOnly: true + type: string + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c0482b78d1569db5110335df67e5fdb49961a6fa --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-07-01/swagger.yaml @@ -0,0 +1,3867 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/networkWatcher.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: 'Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.' + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-07-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + required: + - enabled + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..26c51b0efabe5ac606ee18f75bd0bb14334a605a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-08-01/swagger.yaml @@ -0,0 +1,3870 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: 'Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.' + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-08-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: 'Traffic destination port. Accepted values are ''*'', port (for example, 3389) and port range (for example, 80-100).' + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + required: + - enabled + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3703506d681de13bcb977d34f13a3ad9e33e05c9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-09-01/swagger.yaml @@ -0,0 +1,3884 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: Lists all available internet service providers for a specified Azure region. + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: Gets the relative latency score for internet service providers from a specified location to Azure regions. + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + preferredIPVersion: IPv4 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: 'Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.' + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-09-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + $ref: '#/definitions/ConnectivityIssue' + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + $ref: '#/definitions/IssueContext' + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: Describes the destination of connection. + preferredIPVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: Describes the source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: Describes the HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535). + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: Describes the storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: Describes the properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: Describes the storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + required: + - enabled + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + required: + - networkWatcherFlowAnalyticsConfiguration + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..201af958fc804445a0ef95f5813c56dfedece180 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcher/2019-11-01/swagger.yaml @@ -0,0 +1,5698 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/networkWatcher.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-networkWatcher + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by subscription. + operationId: NetworkWatchers_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List all network watchers: + parameters: + api-version: '2019-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: westus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers': + get: + description: Gets all network watchers by resource group. + operationId: NetworkWatchers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of network watcher resources. + schema: + $ref: '#/definitions/NetworkWatcherListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + List network watchers: + parameters: + api-version: '2019-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2 + location: eastus + name: nw2 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}': + delete: + description: Deletes the specified network watcher resource. + operationId: NetworkWatchers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Delete network watcher: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified network watcher by resource group. + operationId: NetworkWatchers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get network watcher: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + patch: + description: Updates a network watcher tags. + operationId: NetworkWatchers_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters supplied to update network watcher tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Update network watcher tags: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers + put: + description: Creates or updates a network watcher in the specified resource group. + operationId: NetworkWatchers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the network watcher resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkWatcher' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/NetworkWatcher' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Create network watcher: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + location: eastus + properties: {} + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1 + location: eastus + name: nw1 + properties: + provisioningState: Succeeded + tags: {} + type: Microsoft.Network/networkWatchers + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList': + post: + description: 'NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.' + operationId: NetworkWatchers_ListAvailableProviders + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that scope the list of available providers. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AvailableProvidersListParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for list of available providers. + schema: + $ref: '#/definitions/AvailableProvidersList' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AvailableProvidersList' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Available Providers List: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + city: seattle + country: United States + state: washington + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + '202': + body: + countries: + - countryName: United States + states: + - cities: + - cityName: seattle + providers: + - 'Comcast Cable Communications, Inc. - ASN 7922' + - 'Comcast Cable Communications, LLC - ASN 7922' + - 'Level 3 Communications, Inc. (GBLX) - ASN 3549' + - 'Qwest Communications Company, LLC - ASN 209' + stateName: washington + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport': + post: + description: 'NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.' + operationId: NetworkWatchers_GetAzureReachabilityReport + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine Azure reachability report configuration. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/AzureReachabilityReportParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for Azure reachability report. + schema: + $ref: '#/definitions/AzureReachabilityReport' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/AzureReachabilityReport' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Azure Reachability Report: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + azureLocations: + - West US + endTime: '2017-09-10T00:00:00Z' + providerLocation: + country: United States + state: washington + providers: + - 'Frontier Communications of America, Inc. - ASN 5650' + startTime: '2017-09-07T00:00:00Z' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + '202': + body: + aggregationLevel: State + providerLocation: + country: United States + state: washington + reachabilityReport: + - azureLocation: West US + latencies: + - score: 94 + timeStamp: '2017-09-07T00:00:00Z' + - score: 94 + timeStamp: '2017-09-08T00:00:00Z' + - score: 94 + timeStamp: '2017-09-09T00:00:00Z' + provider: 'Frontier Communications of America, Inc. - ASN 5650' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog': + post: + description: Configures flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_SetFlowLogConfiguration + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the configuration of flow log. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogInformation' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for setting flow log and traffic analytics (optional) configuration. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Configure flow log: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + patch: + description: Update tags of the specified connection monitor. + operationId: ConnectionMonitors_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters supplied to update connection monitor tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns updated connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Update connection monitor tags: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/`/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: westcentralus + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2019-09-04T02:48:10.6797393Z' + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor V1: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + Create connection monitor V2: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + location: centraluseuap + networkWatcherName: nw1 + parameters: + properties: + endpoints: + - name: vm1 + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1 + - filter: + items: + - address: npmuser + type: AgentAddress + type: Include + name: CanaryWorkspaceVamshi + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace + - address: bing.com + name: bing + - address: google.com + name: google + outputs: [] + testConfigurations: + - name: testConfig1 + protocol: Tcp + tcpConfiguration: + disableTraceRoute: false + port: 80 + testFrequencySec: 60 + testGroups: + - destinations: + - bing + - google + disable: false + name: test1 + sources: + - vm1 + - CanaryWorkspaceVamshi + testConfigurations: + - testConfig1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + endpoints: + - name: vm1 + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1 + - filter: + items: + - address: npmuser + type: AgentAddress + type: Include + name: CanaryWorkspaceVamshi + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace + - address: bing.com + name: bing + - address: google.com + name: google + outputs: [] + testConfigurations: + - name: testConfig1 + protocol: Tcp + tcpConfiguration: + disableTraceRoute: false + port: 80 + testFrequencySec: 60 + testGroups: + - destinations: + - bing + - google + disable: false + name: test1 + sources: + - vm1 + - CanaryWorkspaceVamshi + testConfigurations: + - testConfig1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + endpoints: + - name: vm1 + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1 + - filter: + items: + - address: npmuser + type: AgentAddress + type: Include + name: CanaryWorkspaceVamshi + resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace + - address: bing.com + name: bing + - address: google.com + name: google + outputs: [] + testConfigurations: + - name: testConfig1 + protocol: Tcp + tcpConfiguration: + disableTraceRoute: false + port: 80 + testFrequencySec: 60 + testGroups: + - destinations: + - bing + - google + disable: false + name: test1 + sources: + - vm1 + - CanaryWorkspaceVamshi + testConfigurations: + - testConfig1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2019-11-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck': + post: + description: Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. + operationId: NetworkWatchers_CheckConnectivity + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that determine how the connectivity check will be performed. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectivityParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for checking connectivity. + schema: + $ref: '#/definitions/ConnectivityInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/ConnectivityInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Check connectivity: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + destination: + address: 192.168.100.4 + port: 3389 + preferredIPVersion: IPv4 + source: + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + '202': + body: + avgLatencyInMs: 1 + connectionStatus: Connected + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + maxLatencyInMs: 4 + minLatencyInMs: 1 + probesFailed: 0 + probesSent: 100 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs': + get: + description: Lists all flow log resources for the specified Network Watcher. + operationId: FlowLogs_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful flow log enumeration request. + schema: + $ref: '#/definitions/FlowLogListResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - FlowLogs + x-ms-examples: + List connection monitors: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1 + location: centraluseuap + name: flowLog1 + properties: + enabled: true + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: false + trafficAnalyticsInterval: 60 + workspaceId: '-' + workspaceRegion: '-' + format: + type: JSON + version: 2 + provisioningState: Succeeded + retentionPolicy: + days: 0 + enabled: false + storageId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002 + targetResourceGuid: 00000000-0000-0000-0000-000000000000 + targetResourceId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg + type: Microsoft.Network/networkWatchers/FlowLogs + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap/FlowLogs/flowLog2 + location: centraluseuap + name: flowLog2 + properties: + enabled: true + flowAnalyticsConfiguration: {} + format: + type: JSON + version: 2 + provisioningState: Succeeded + retentionPolicy: + days: 0 + enabled: false + storageId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/iraflowlogtest2diag + targetResourceGuid: 00000000-0000-0000-0000-000000000000 + targetResourceId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/DSCP-test-vm1-nsg + type: Microsoft.Network/networkWatchers/FlowLogs + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}': + delete: + description: Deletes the specified flow log resource. + operationId: FlowLogs_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the flow log resource. + in: path + name: flowLogName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - FlowLogs + x-ms-examples: + Delete flow log: + parameters: + api-version: '2019-11-01' + flowLogName: fl + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a flow log resource by name. + operationId: FlowLogs_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the flow log resource. + in: path + name: flowLogName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a flow log resource. + schema: + $ref: '#/definitions/FlowLog' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - FlowLogs + x-ms-examples: + Get flow log: + parameters: + api-version: '2019-11-01' + flowLogName: flowLog1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1 + location: centraluseuap + name: flowLog1 + properties: + enabled: true + flowAnalyticsConfiguration: + networkWatcherFlowAnalyticsConfiguration: + enabled: false + trafficAnalyticsInterval: 60 + workspaceId: '-' + workspaceRegion: '-' + format: + type: JSON + version: 2 + provisioningState: Succeeded + retentionPolicy: + days: 0 + enabled: false + storageId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002 + targetResourceGuid: 00000000-0000-0000-0000-000000000000 + targetResourceId: /subscriptions/subid/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg + type: Microsoft.Network/networkWatchers/FlowLogs + put: + description: Create or update a flow log for the specified network security group. + operationId: FlowLogs_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the flow log. + in: path + name: flowLogName + required: true + type: string + - description: Parameters that define the create or update flow log resource. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLog' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting flow log resource. + schema: + $ref: '#/definitions/FlowLog' + '201': + description: Request successful. The operation returns the resulting flow log resource. + schema: + $ref: '#/definitions/FlowLog' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - FlowLogs + x-ms-examples: + Create or update flow log: + parameters: + api-version: '2019-11-01' + flowLogName: fl + networkWatcherName: nw1 + parameters: + location: centraluseuap + properties: + enabled: true + format: + type: JSON + version: 1 + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl + location: centraluseuap + name: Microsoft.Networkdesmond-rgdesmondcentral-nsg + properties: + enabled: true + flowAnalyticsConfiguration: {} + format: + type: JSON + version: 1 + provisioningState: Updating + retentionPolicy: + days: 0 + enabled: false + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe + targetResourceGuid: 00000000-0000-0000-0000-000000000000 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg + type: Microsoft.Network/networkWatchers/FlowLogs + '201': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl + location: centraluseuap + name: Microsoft.Networkdesmond-rgdesmondcentral-nsg + properties: + enabled: true + flowAnalyticsConfiguration: {} + format: + type: JSON + version: 1 + provisioningState: Succeeded + retentionPolicy: + days: 0 + enabled: false + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe + targetResourceGuid: 00000000-0000-0000-0000-000000000000 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg + type: Microsoft.Network/networkWatchers/FlowLogs + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify': + post: + description: Verify IP flow from the specified VM to a location given the currently configured NSG rules. + operationId: NetworkWatchers_VerifyIPFlow + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the IP flow to be verified. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VerificationIPFlowParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of IP flow verification. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/VerificationIPFlowResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Ip flow verify: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + direction: Outbound + localIPAddress: 10.2.0.4 + localPort: '80' + protocol: TCP + remoteIPAddress: 121.10.1.1 + remotePort: '80' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + access: Allow + ruleName: Rule1 + '202': + body: + access: Allow + ruleName: Rule1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic': + post: + description: 'Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.' + operationId: NetworkWatchers_GetNetworkConfigurationDiagnostic + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters to get network configuration diagnostic. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the result of network configuration diagnostic. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NetworkConfigurationDiagnosticResponse' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Network configuration diagnostic: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + profiles: + - destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + '202': + body: + results: + - networkSecurityGroupResult: + evaluatedNetworkSecurityGroups: + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1 + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-100 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-101 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Allow-102 + protocolMatched: true + sourceMatched: false + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: false + name: UserRule_Cleanuptool-Deny-103 + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + - appliedTo: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic + matchedRule: + action: Allow + ruleName: UserRule_fe_rule + networkSecurityGroupId: /subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG + rulesEvaluationResult: + - destinationMatched: true + destinationPortMatched: true + name: UserRule_fe_rule + protocolMatched: true + sourceMatched: true + sourcePortMatched: true + securityRuleAccessResult: Allow + profile: + destination: 12.11.12.14 + destinationPort: '12100' + direction: Inbound + protocol: TCP + source: 10.1.0.4 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop': + post: + description: Gets the next hop from the specified VM. + operationId: NetworkWatchers_GetNextHop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the source and destination endpoint. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NextHopParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the next hop from the VM. + schema: + $ref: '#/definitions/NextHopResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/NextHopResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get next hop: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + destinationIPAddress: 10.0.0.10 + sourceIPAddress: 10.0.0.5 + targetNicResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1 + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + '202': + body: + nextHopIpAddress: 10.0.0.1 + nextHopType: VnetLocal + routeTableId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures': + get: + description: Lists all packet capture sessions within the specified resource group. + operationId: PacketCaptures_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful packet capture enumeration request. + schema: + $ref: '#/definitions/PacketCaptureListResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + List packet captures: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2 + name: pc2 + properties: + bytesToCapturePerPacket: 10000 + filters: [] + provisioningState: Succeeded + storageLocation: + filePath: 'D:\capture\pc2.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc2.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}': + delete: + description: Deletes the specified packet capture session. + operationId: PacketCaptures_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Delete packet capture: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a packet capture session by name. + operationId: PacketCaptures_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Get packet capture: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + put: + description: Create and start a packet capture on the specified VM. + operationId: PacketCaptures_Create + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Parameters that define the create packet capture operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PacketCapture' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '201': + description: Request successful. The operation returns the resulting packet capture session. + schema: + $ref: '#/definitions/PacketCaptureResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Create packet capture: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + parameters: + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + properties: + bytesToCapturePerPacket: 10000 + filters: + - localIPAddress: 10.0.0.4 + localPort: '80' + protocol: TCP + provisioningState: Updating + storageLocation: + filePath: 'D:\capture\pc1.cap' + storageId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore + storagePath: 'https://mytestaccountname.blob.core.windows.net/capture/pc1.cap' + target: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + timeLimitInSeconds: 100 + totalBytesPerSession: 100000 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus': + post: + description: Query the status of a running packet capture session. + operationId: PacketCaptures_GetStatus + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of packet capture status. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + '202': + description: Accepted query status of packet capture. + schema: + $ref: '#/definitions/PacketCaptureQueryStatusResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Query packet capture status: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + '202': + body: + captureStartTime: '2016-09-07T12:35:24Z' + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1 + name: pc1 + packetCaptureError: [] + packetCaptureStatus: Stopped + stopReason: TimeExceeded + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop': + post: + description: Stops a specified packet capture session. + operationId: PacketCaptures_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the packet capture session. + in: path + name: packetCaptureName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the packet capture session. + '202': + description: Accepted and the operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - PacketCaptures + x-ms-examples: + Stop packet capture: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + packetCaptureName: pc1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus': + post: + description: Queries status of flow log and traffic analytics (optional) on a specified resource. + operationId: NetworkWatchers_GetFlowLogStatus + parameters: + - description: The name of the network watcher resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/FlowLogStatusParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful request for query flow log and traffic analytics (optional) status. + schema: + $ref: '#/definitions/FlowLogInformation' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/FlowLogInformation' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + - TrafficAnalytics + x-ms-examples: + Get flow log status: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + '202': + body: + properties: + enabled: true + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult': + post: + description: Get the last completed troubleshooting result on a specified resource. + operationId: NetworkWatchers_GetTroubleshootingResult + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to query the troubleshooting result. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/QueryTroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting result request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshoot result: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView': + post: + description: Gets the configured and effective security group rules on the specified VM. + operationId: NetworkWatchers_GetVMSecurityRules + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the VM to check security groups for. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/SecurityGroupViewParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns security group rules on the VM. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + '202': + description: Accepted and the operation will complete asynchronously. + schema: + $ref: '#/definitions/SecurityGroupViewResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get security group view: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + '202': + body: + networkInterfaces: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1 + securityRuleAssociations: + defaultSecurityRules: + - id: /subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/ + name: AllowVnetInBound + properties: + access: Allow + description: Allow inbound traffic from all VMs in VNET + destinationAddressPrefix: VirtualNetwork + destinationPortRange: '*' + direction: Inbound + priority: 65000 + protocol: '*' + provisioningState: Succeeded + sourceAddressPrefix: VirtualNetwork + sourcePortRange: '*' + effectiveSecurityRules: + - access: Deny + destinationAddressPrefix: '*' + destinationPortRange: 0-65535 + direction: Outbound + name: DefaultOutboundDenyAll + priority: 65500 + protocol: All + sourceAddressPrefix: '*' + sourcePortRange: 0-65535 + subnetAssociation: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1 + securityRules: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule + name: fe_rule + properties: + access: Allow + description: Allow Frontend + destinationAddressPrefix: '*' + destinationPortRange: '*' + direction: Inbound + priority: 100 + protocol: Tcp + provisioningState: Succeeded + sourceAddressPrefix: 10.1.0.0/24 + sourcePortRange: '*' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology': + post: + description: Gets the current network topology by resource group. + operationId: NetworkWatchers_GetTopology + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the representation of topology. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TopologyParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns the topology of resource group. + schema: + $ref: '#/definitions/Topology' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get Topology: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + targetResourceGroupName: rg2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + createdDateTime: '2017-08-02T19:31:55.9461781Z' + id: ce592f46-8164-4bf2-ad36-b8e4acf6fb68 + lastModified: '2017-05-27T00:00:13.2005337Z' + resources: + - associations: + - associationType: Contains + name: appNic0 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0 + - associationType: Contains + name: appNic10 + resourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10 + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0 + location: westus + name: MultiTierApp0 + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot': + post: + description: Initiate troubleshooting on a specified resource. + operationId: NetworkWatchers_GetTroubleshooting + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Parameters that define the resource to troubleshoot. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/TroubleshootingParameters' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + '202': + description: Accepted get troubleshooting request. + schema: + $ref: '#/definitions/TroubleshootingResult' + default: + description: Error response describing why the operation failed. + schema: + $ref: '#/definitions/ErrorResponse' + tags: + - NetworkWatchers + x-ms-examples: + Get troubleshooting: + parameters: + api-version: '2019-11-01' + networkWatcherName: nw1 + parameters: + properties: + storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1 + storagePath: 'https://st1.blob.core.windows.net/cn1' + targetResourceId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + '202': + body: + code: UnHealthy + endTime: '2017-01-12T00:20:09.914Z' + results: + - detail: During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected + id: '000000' + reasonType: VipUnResponsive + recommendedActions: + - actionText: Verify if there is a network security group (NSG) applied to the GatewaySubnet + actionUri: 'https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal' + actionUriText: Verify + - actionText: 'If your VPN gateway isn''t up and running by the expected resolution time, contact support' + actionUri: 'http://azure.microsoft.com/support' + actionUriText: contact support + summary: 'We are sorry, your VPN gateway is unreachable from the Internet' + startTime: '2017-01-12T00:19:47.0442834Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + AvailableProvidersList: + description: List of available countries with details. + properties: + countries: + description: List of available countries. + items: + $ref: '#/definitions/AvailableProvidersListCountry' + type: array + required: + - countries + AvailableProvidersListCity: + description: City or town details. + properties: + cityName: + description: The city or town name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + AvailableProvidersListCountry: + description: Country details. + properties: + countryName: + description: The country name. + type: string + providers: + description: A list of Internet service providers. + items: + type: string + type: array + states: + description: List of available states in the country. + items: + $ref: '#/definitions/AvailableProvidersListState' + type: array + AvailableProvidersListParameters: + description: Constraints that determine the list of available Internet service providers. + properties: + azureLocations: + description: A list of Azure regions. + items: + type: string + type: array + city: + description: The city or town for available providers list. + type: string + country: + description: The country for available providers list. + type: string + state: + description: The state for available providers list. + type: string + AvailableProvidersListState: + description: State details. + properties: + cities: + description: List of available cities or towns in the state. + items: + $ref: '#/definitions/AvailableProvidersListCity' + type: array + providers: + description: A list of Internet service providers. + items: + type: string + type: array + stateName: + description: The state name. + type: string + AzureReachabilityReport: + description: Azure reachability report details. + properties: + aggregationLevel: + description: 'The aggregation level of Azure reachability report. Can be Country, State or City.' + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + reachabilityReport: + description: List of Azure reachability report items. + items: + $ref: '#/definitions/AzureReachabilityReportItem' + type: array + required: + - aggregationLevel + - providerLocation + - reachabilityReport + AzureReachabilityReportItem: + description: Azure reachability report details for a given provider location. + properties: + azureLocation: + description: The Azure region. + type: string + latencies: + description: List of latency details for each of the time series. + items: + $ref: '#/definitions/AzureReachabilityReportLatencyInfo' + type: array + provider: + description: The Internet service provider. + type: string + AzureReachabilityReportLatencyInfo: + description: Details on latency for a time series. + properties: + score: + description: 'The relative latency score between 1 and 100, higher values indicating a faster connection.' + maximum: 100 + minimum: 1 + type: integer + timeStamp: + description: The time stamp. + format: date-time + type: string + AzureReachabilityReportLocation: + description: Parameters that define a geographic location. + properties: + city: + description: The name of the city or town. + type: string + country: + description: The name of the country. + type: string + state: + description: The name of the state. + type: string + required: + - country + AzureReachabilityReportParameters: + description: Geographic and time constraints for Azure reachability report. + properties: + azureLocations: + description: Optional Azure regions to scope the query to. + items: + type: string + type: array + endTime: + description: The end time for the Azure reachability report. + format: date-time + type: string + providerLocation: + $ref: '#/definitions/AzureReachabilityReportLocation' + description: Parameters that define a geographic location. + providers: + description: List of Internet service providers. + items: + type: string + type: array + startTime: + description: The start time for the Azure reachability report. + format: date-time + type: string + required: + - providerLocation + - startTime + - endTime + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + description: Properties of the connection monitor. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorEndpoint: + description: Describes the connection monitor endpoint. + properties: + address: + description: Address of the connection monitor endpoint (IP or domain name). + type: string + filter: + $ref: '#/definitions/ConnectionMonitorEndpointFilter' + description: Filter for sub-items within the endpoint. + name: + description: The name of the connection monitor endpoint. + type: string + resourceId: + description: Resource ID of the connection monitor endpoint. + type: string + required: + - name + ConnectionMonitorEndpointFilter: + description: Describes the connection monitor endpoint filter. + properties: + items: + description: List of items in the filter. + items: + $ref: '#/definitions/ConnectionMonitorEndpointFilterItem' + type: array + type: + description: The behavior of the endpoint filter. Currently only 'Include' is supported. + enum: + - Include + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorEndpointFilterType + ConnectionMonitorEndpointFilterItem: + description: Describes the connection monitor endpoint filter item. + properties: + address: + description: The address of the filter item. + type: string + type: + description: The type of item included in the filter. Currently only 'AgentAddress' is supported. + enum: + - AgentAddress + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorEndpointFilterItemType + ConnectionMonitorHttpConfiguration: + description: Describes the HTTP configuration. + properties: + method: + description: The HTTP method to use. + enum: + - Get + - Post + type: string + x-ms-enum: + modelAsString: true + name: HTTPConfigurationMethod + path: + description: 'The path component of the URI. For instance, "/dir1/dir2".' + type: string + port: + description: The port to connect to. + type: integer + preferHTTPS: + description: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. + type: boolean + requestHeaders: + description: The HTTP headers to transmit with the request. + items: + $ref: '#/definitions/HTTPHeader' + type: array + validStatusCodeRanges: + description: 'HTTP status codes to consider successful. For instance, "2xx,301-304,418".' + items: + type: string + type: array + ConnectionMonitorIcmpConfiguration: + description: Describes the ICMP configuration. + properties: + disableTraceRoute: + description: Value indicating whether path evaluation with trace route should be disabled. + type: boolean + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorOutput: + description: Describes a connection monitor output destination. + properties: + type: + description: 'Connection monitor output destination type. Currently, only "Workspace" is supported.' + enum: + - Workspace + type: string + x-ms-enum: + modelAsString: true + name: OutputType + workspaceSettings: + $ref: '#/definitions/ConnectionMonitorWorkspaceSettings' + description: Describes the settings for producing output into a log analytics workspace. + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + description: Describes the destination of connection monitor. + endpoints: + description: List of connection monitor endpoints. + items: + $ref: '#/definitions/ConnectionMonitorEndpoint' + type: array + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + notes: + description: Optional notes to be associated with the connection monitor. + type: string + outputs: + description: List of connection monitor outputs. + items: + $ref: '#/definitions/ConnectionMonitorOutput' + type: array + source: + $ref: '#/definitions/ConnectionMonitorSource' + description: Describes the source of connection monitor. + testConfigurations: + description: List of connection monitor test configurations. + items: + $ref: '#/definitions/ConnectionMonitorTestConfiguration' + type: array + testGroups: + description: List of connection monitor test groups. + items: + $ref: '#/definitions/ConnectionMonitorTestGroup' + type: array + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Unknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + description: Properties of the connection monitor result. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + connectionMonitorType: + description: Type of connection monitor. + enum: + - MultiEndpoint + - SingleSourceDestination + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorType + monitoringStatus: + description: The monitoring status of the connection monitor. + readOnly: true + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + readOnly: true + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionMonitorSuccessThreshold: + description: Describes the threshold for declaring a test successful. + properties: + checksFailedPercent: + description: The maximum percentage of failed checks permitted for a test to evaluate as successful. + type: integer + roundTripTimeMs: + description: The maximum round-trip time in milliseconds permitted for a test to evaluate as successful. + type: integer + ConnectionMonitorTcpConfiguration: + description: Describes the TCP configuration. + properties: + disableTraceRoute: + description: Value indicating whether path evaluation with trace route should be disabled. + type: boolean + port: + description: The port to connect to. + type: integer + ConnectionMonitorTestConfiguration: + description: Describes a connection monitor test configuration. + properties: + httpConfiguration: + $ref: '#/definitions/ConnectionMonitorHttpConfiguration' + description: The parameters used to perform test evaluation over HTTP. + icmpConfiguration: + $ref: '#/definitions/ConnectionMonitorIcmpConfiguration' + description: The parameters used to perform test evaluation over ICMP. + name: + description: The name of the connection monitor test configuration. + type: string + preferredIPVersion: + description: The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: PreferredIPVersion + protocol: + description: The protocol to use in test evaluation. + enum: + - Tcp + - Http + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorTestConfigurationProtocol + successThreshold: + $ref: '#/definitions/ConnectionMonitorSuccessThreshold' + description: The threshold for declaring a test successful. + tcpConfiguration: + $ref: '#/definitions/ConnectionMonitorTcpConfiguration' + description: The parameters used to perform test evaluation over TCP. + testFrequencySec: + description: 'The frequency of test evaluation, in seconds.' + type: integer + required: + - name + - protocol + ConnectionMonitorTestGroup: + description: Describes the connection monitor test group. + properties: + destinations: + description: List of destination endpoint names. + items: + type: string + type: array + disable: + description: Value indicating whether test group is disabled. + type: boolean + name: + description: The name of the connection monitor test group. + type: string + sources: + description: List of source endpoint names. + items: + type: string + type: array + testConfigurations: + description: List of test configuration names. + items: + type: string + type: array + required: + - name + - testConfigurations + - sources + - destinations + ConnectionMonitorWorkspaceSettings: + description: Describes the settings for producing output into a log analytics workspace. + properties: + workspaceResourceId: + description: Log analytics workspace resource ID. + type: string + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string + ConnectivityDestination: + description: Parameters that define destination of connection. + properties: + address: + description: The IP address or URI the resource to which a connection attempt will be made. + type: string + port: + description: Port on which check connectivity will be performed. + type: integer + resourceId: + description: The ID of the resource to which a connection attempt will be made. + type: string + ConnectivityHop: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + ConnectivityInformation: + description: Information on the connectivity status. + properties: + avgLatencyInMs: + description: Average latency in milliseconds. + readOnly: true + type: integer + connectionStatus: + description: The connection status. + enum: + - Unknown + - Connected + - Disconnected + - Degraded + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ConnectionStatus + hops: + description: List of hops between the source and the destination. + items: + $ref: '#/definitions/ConnectivityHop' + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in milliseconds. + readOnly: true + type: integer + minLatencyInMs: + description: Minimum latency in milliseconds. + readOnly: true + type: integer + probesFailed: + description: Number of failed probes. + readOnly: true + type: integer + probesSent: + description: Total number of probes sent. + readOnly: true + type: integer + ConnectivityIssue: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + ConnectivityParameters: + description: Parameters that determine how the connectivity check will be performed. + properties: + destination: + $ref: '#/definitions/ConnectivityDestination' + description: The destination of connection. + preferredIPVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + protocol: + description: Network protocol. + enum: + - Tcp + - Http + - Https + - Icmp + type: string + x-ms-enum: + modelAsString: true + name: Protocol + protocolConfiguration: + $ref: '#/definitions/ProtocolConfiguration' + description: Configuration of the protocol. + source: + $ref: '#/definitions/ConnectivitySource' + description: The source of the connection. + required: + - source + - destination + ConnectivitySource: + description: Parameters that define the source of the connection. + properties: + port: + description: The source port from which a connectivity check will be performed. + type: integer + resourceId: + description: The ID of the resource from which a connectivity check will be initiated. + type: string + required: + - resourceId + Direction: + description: The direction of the traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: Direction + ErrorResponse: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + EvaluatedNetworkSecurityGroup: + description: Results of network security group evaluation. + properties: + appliedTo: + description: Resource ID of nic or subnet to which network security group is applied. + type: string + matchedRule: + $ref: '#/definitions/MatchedRule' + description: Matched network security rule. + networkSecurityGroupId: + description: Network security group ID. + type: string + rulesEvaluationResult: + description: List of network security rules evaluation results. + items: + $ref: '#/definitions/NetworkSecurityRulesEvaluationResult' + readOnly: true + type: array + FlowLog: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A flow log resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/FlowLogPropertiesFormat' + description: Properties of the flow log. + x-ms-client-flatten: true + FlowLogFormatParameters: + description: Parameters that define the flow log format. + properties: + type: + description: The file type of flow log. + enum: + - JSON + type: string + x-ms-enum: + modelAsString: true + name: FlowLogFormatType + version: + default: 0 + description: The version (revision) of the flow log. + type: integer + FlowLogInformation: + description: Information on the configuration of flow log and traffic analytics (optional) . + properties: + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + properties: + $ref: '#/definitions/FlowLogProperties' + description: Properties of the flow log. + x-ms-client-flatten: true + targetResourceId: + description: The ID of the resource to configure for flow log and traffic analytics (optional) . + type: string + required: + - targetResourceId + - properties + FlowLogListResult: + description: List of flow logs. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Information about flow log resource. + items: + $ref: '#/definitions/FlowLog' + type: array + FlowLogProperties: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + required: + - storageId + - enabled + FlowLogPropertiesFormat: + description: Parameters that define the configuration of flow log. + properties: + enabled: + description: Flag to enable/disable flow logging. + type: boolean + flowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsProperties' + description: Parameters that define the configuration of traffic analytics. + format: + $ref: '#/definitions/FlowLogFormatParameters' + description: Parameters that define the flow log format. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + retentionPolicy: + $ref: '#/definitions/RetentionPolicyParameters' + description: Parameters that define the retention policy for flow log. + storageId: + description: ID of the storage account which is used to store the flow log. + type: string + targetResourceGuid: + description: Guid of network security group to which flow log will be applied. + readOnly: true + type: string + targetResourceId: + description: ID of network security group to which flow log will be applied. + type: string + required: + - targetResourceId + - storageId + FlowLogStatusParameters: + description: Parameters that define a resource to query flow log and traffic analytics (optional) status. + properties: + targetResourceId: + description: The target resource where getting the flow log and traffic analytics (optional) status. + type: string + required: + - targetResourceId + HTTPConfiguration: + description: HTTP configuration of the connectivity check. + properties: + headers: + description: List of HTTP headers. + items: + $ref: '#/definitions/HTTPHeader' + type: array + method: + description: HTTP method. + enum: + - Get + type: string + x-ms-enum: + modelAsString: true + name: HTTPMethod + validStatusCodes: + description: Valid status codes. + items: + type: integer + type: array + HTTPHeader: + description: The HTTP header. + properties: + name: + description: The name in HTTP header. + type: string + value: + description: The value in HTTP header. + type: string + IssueContext: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + MatchedRule: + description: Matched rule. + properties: + action: + description: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. + type: string + ruleName: + description: Name of the matched network security rule. + type: string + NetworkConfigurationDiagnosticParameters: + description: Parameters to get network configuration diagnostic. + properties: + profiles: + description: List of network configuration diagnostic profiles. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + type: array + targetResourceId: + description: 'The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.' + type: string + verbosityLevel: + description: Verbosity level. + enum: + - Normal + - Minimum + - Full + type: string + x-ms-enum: + modelAsString: true + name: VerbosityLevel + required: + - targetResourceId + - profiles + NetworkConfigurationDiagnosticProfile: + description: Parameters to compare with network configuration. + properties: + destination: + description: 'Traffic destination. Accepted values are: ''*'', IP Address/CIDR, Service Tag.' + type: string + destinationPort: + description: Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535). + type: string + direction: + $ref: '#/definitions/Direction' + description: The direction of the traffic. + protocol: + description: 'Protocol to be verified on. Accepted values are ''*'', TCP, UDP.' + type: string + source: + description: 'Traffic source. Accepted values are ''*'', IP Address/CIDR, Service Tag.' + type: string + required: + - direction + - protocol + - source + - destination + - destinationPort + NetworkConfigurationDiagnosticResponse: + description: Results of network configuration diagnostic on the target resource. + properties: + results: + description: List of network configuration diagnostic results. + items: + $ref: '#/definitions/NetworkConfigurationDiagnosticResult' + readOnly: true + type: array + NetworkConfigurationDiagnosticResult: + description: Network configuration diagnostic result corresponded to provided traffic query. + properties: + networkSecurityGroupResult: + $ref: '#/definitions/NetworkSecurityGroupResult' + description: Network security group result. + profile: + $ref: '#/definitions/NetworkConfigurationDiagnosticProfile' + description: Network configuration diagnostic profile. + NetworkInterfaceAssociation: + description: Network interface and its custom security rules. + properties: + id: + description: Network interface ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + NetworkSecurityGroupResult: + description: Network configuration diagnostic result corresponded provided traffic query. + properties: + evaluatedNetworkSecurityGroups: + description: List of results network security groups diagnostic. + items: + $ref: '#/definitions/EvaluatedNetworkSecurityGroup' + readOnly: true + type: array + securityRuleAccessResult: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + NetworkSecurityRulesEvaluationResult: + description: Network security rules evaluation result. + properties: + destinationMatched: + description: Value indicating whether destination is matched. + type: boolean + destinationPortMatched: + description: Value indicating whether destination port is matched. + type: boolean + name: + description: Name of the network security rule. + type: string + protocolMatched: + description: Value indicating whether protocol is matched. + type: boolean + sourceMatched: + description: Value indicating whether source is matched. + type: boolean + sourcePortMatched: + description: Value indicating whether source port is matched. + type: boolean + NetworkWatcher: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Network watcher in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + $ref: '#/definitions/NetworkWatcherPropertiesFormat' + description: Properties of the network watcher. + x-ms-client-flatten: true + NetworkWatcherListResult: + description: Response for ListNetworkWatchers API service call. + properties: + value: + description: List of network watcher resources. + items: + $ref: '#/definitions/NetworkWatcher' + type: array + NetworkWatcherPropertiesFormat: + description: The network watcher properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + NextHopParameters: + description: Parameters that define the source and destination endpoint. + properties: + destinationIPAddress: + description: The destination IP address. + type: string + sourceIPAddress: + description: The source IP address. + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The resource identifier of the target resource against which the action is to be performed. + type: string + required: + - targetResourceId + - sourceIPAddress + - destinationIPAddress + NextHopResult: + description: The information about next hop from the specified VM. + properties: + nextHopIpAddress: + description: Next hop IP Address. + type: string + nextHopType: + description: Next hop type. + enum: + - Internet + - VirtualAppliance + - VirtualNetworkGateway + - VnetLocal + - HyperNetGateway + - None + type: string + x-ms-enum: + modelAsString: true + name: NextHopType + routeTableId: + description: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'. + type: string + PacketCapture: + description: Parameters that define the create packet capture operation. + properties: + properties: + $ref: '#/definitions/PacketCaptureParameters' + description: Properties of the packet capture. + x-ms-client-flatten: true + required: + - properties + PacketCaptureFilter: + description: Filter that is applied to packet capture request. Multiple filters can be applied. + properties: + localIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + localPort: + description: 'Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + protocol: + default: Any + description: Protocol to be filtered on. + enum: + - TCP + - UDP + - Any + type: string + x-ms-enum: + modelAsString: true + name: PcProtocol + remoteIPAddress: + description: 'Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + remotePort: + description: 'Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.' + type: string + PacketCaptureListResult: + description: List of packet capture sessions. + properties: + value: + description: Information about packet capture sessions. + items: + $ref: '#/definitions/PacketCaptureResult' + type: array + PacketCaptureParameters: + description: Parameters that define the create packet capture operation. + properties: + bytesToCapturePerPacket: + default: 0 + description: 'Number of bytes captured per packet, the remaining bytes are truncated.' + type: integer + filters: + description: A list of packet capture filters. + items: + $ref: '#/definitions/PacketCaptureFilter' + type: array + storageLocation: + $ref: '#/definitions/PacketCaptureStorageLocation' + description: The storage location for a packet capture session. + target: + description: 'The ID of the targeted resource, only VM is currently supported.' + type: string + timeLimitInSeconds: + default: 18000 + description: Maximum duration of the capture session in seconds. + type: integer + totalBytesPerSession: + default: 1073741824 + description: Maximum size of the capture output. + type: integer + required: + - target + - storageLocation + PacketCaptureQueryStatusResult: + description: Status of packet capture session. + properties: + captureStartTime: + description: The start time of the packet capture session. + format: date-time + type: string + id: + description: The ID of the packet capture resource. + type: string + name: + description: The name of the packet capture resource. + type: string + packetCaptureError: + description: List of errors of packet capture session. + items: + enum: + - InternalError + - AgentStopped + - CaptureFailed + - LocalFileFailed + - StorageFailed + type: string + x-ms-enum: + modelAsString: true + name: PcError + type: array + packetCaptureStatus: + description: The status of the packet capture session. + enum: + - NotStarted + - Running + - Stopped + - Error + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: PcStatus + stopReason: + description: The reason the current packet capture session was stopped. + type: string + PacketCaptureResult: + description: Information about packet capture session. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + id: + description: ID of the packet capture operation. + readOnly: true + type: string + name: + description: Name of the packet capture session. + readOnly: true + type: string + properties: + $ref: '#/definitions/PacketCaptureResultProperties' + description: Properties of the packet capture result. + x-ms-client-flatten: true + PacketCaptureResultProperties: + allOf: + - $ref: '#/definitions/PacketCaptureParameters' + description: The properties of a packet capture session. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PacketCaptureStorageLocation: + description: The storage location for a packet capture session. + properties: + filePath: + description: 'A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.' + type: string + storageId: + description: The ID of the storage account to save the packet capture session. Required if no local file path is provided. + type: string + storagePath: + description: The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. + type: string + ProtocolConfiguration: + description: Configuration of the protocol. + properties: + HTTPConfiguration: + $ref: '#/definitions/HTTPConfiguration' + description: HTTP configuration of the connectivity check. + QueryTroubleshootingParameters: + description: Parameters that define the resource to query the troubleshooting result. + properties: + targetResourceId: + description: The target resource ID to query the troubleshooting result. + type: string + required: + - targetResourceId + RetentionPolicyParameters: + description: Parameters that define the retention policy for flow log. + properties: + days: + default: 0 + description: Number of days to retain flow log records. + type: integer + enabled: + default: false + description: Flag to enable/disable retention. + type: boolean + SecurityGroupNetworkInterface: + description: Network interface and all its associated security rules. + properties: + id: + description: ID of the network interface. + type: string + securityRuleAssociations: + $ref: '#/definitions/SecurityRuleAssociations' + description: All security rules associated with the network interface. + SecurityGroupViewParameters: + description: Parameters that define the VM to check security groups for. + properties: + targetResourceId: + description: ID of the target VM. + type: string + required: + - targetResourceId + SecurityGroupViewResult: + description: The information about security rules applied to the specified VM. + properties: + networkInterfaces: + description: List of network interfaces on the specified VM. + items: + $ref: '#/definitions/SecurityGroupNetworkInterface' + type: array + SecurityRuleAssociations: + description: All security rules associated with the network interface. + properties: + defaultSecurityRules: + description: Collection of default security rules of the network security group. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + effectiveSecurityRules: + description: Collection of effective security rules. + items: + description: Effective network security rules. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: The destination address prefix. + type: string + destinationAddressPrefixes: + description: 'The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + destinationPortRange: + description: The destination port or range. + type: string + destinationPortRanges: + description: 'The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Expanded destination address prefix. + items: + type: string + type: array + expandedSourceAddressPrefix: + description: The expanded source address prefix. + items: + type: string + type: array + name: + description: The name of the security rule specified by the user (if created by the user). + type: string + priority: + description: The priority of the rule. + format: int32 + type: integer + protocol: + description: The network protocol this rule applies to. + enum: + - Tcp + - Udp + - All + type: string + x-ms-enum: + modelAsString: true + name: EffectiveSecurityRuleProtocol + sourceAddressPrefix: + description: The source address prefix. + type: string + sourceAddressPrefixes: + description: 'The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).' + items: + type: string + type: array + sourcePortRange: + description: The source port or range. + type: string + sourcePortRanges: + description: 'The source port ranges. Expected values include a single integer between 0 and 65535, a range using ''-'' as separator (e.g. 100-400), or an asterisk (*).' + items: + type: string + type: array + type: array + networkInterfaceAssociation: + $ref: '#/definitions/NetworkInterfaceAssociation' + description: Network interface and it's custom security rules. + subnetAssociation: + $ref: '#/definitions/SubnetAssociation' + description: Subnet and it's custom security rules. + SubnetAssociation: + description: Subnet and it's custom security rules. + properties: + id: + description: Subnet ID. + readOnly: true + type: string + securityRules: + description: Collection of custom security rules. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Network security rule. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Security rule resource. + properties: + access: + description: Whether network traffic is allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: A description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'The destination address prefix. CIDR or destination IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used.' + type: string + destinationAddressPrefixes: + description: The destination address prefixes. CIDR or destination IP ranges. + items: + type: string + type: array + destinationApplicationSecurityGroups: + description: The application security group specified as destination. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + destinationPortRange: + description: The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + destinationPortRanges: + description: The destination port ranges. + items: + description: The destination port. + type: string + type: array + direction: + description: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: Network protocol this rule applies to. + enum: + - Tcp + - Udp + - Icmp + - Esp + - '*' + - Ah + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + sourceAddressPrefix: + description: 'The CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from.' + type: string + sourceAddressPrefixes: + description: The CIDR or source IP ranges. + items: + type: string + type: array + sourceApplicationSecurityGroups: + description: The application security group specified as source. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: An application security group in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + properties: + description: Application security group properties. + properties: + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + resourceGuid: + description: 'The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.' + readOnly: true + type: string + type: array + sourcePortRange: + description: The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + sourcePortRanges: + description: The source port ranges. + items: + description: The source port. + type: string + type: array + required: + - protocol + - access + - direction + type: array + Topology: + description: Topology of the specified resource group. + properties: + createdDateTime: + description: The datetime when the topology was initially created for the resource group. + format: date-time + readOnly: true + type: string + id: + description: GUID representing the operation id. + readOnly: true + type: string + lastModified: + description: The datetime when the topology was last modified. + format: date-time + readOnly: true + type: string + resources: + description: A list of topology resources. + items: + $ref: '#/definitions/TopologyResource' + type: array + TopologyAssociation: + description: Resources that have an association with the parent resource. + properties: + associationType: + description: The association type of the child resource to the parent resource. + enum: + - Associated + - Contains + type: string + x-ms-enum: + modelAsString: true + name: AssociationType + name: + description: The name of the resource that is associated with the parent resource. + type: string + resourceId: + description: The ID of the resource that is associated with the parent resource. + type: string + TopologyParameters: + description: Parameters that define the representation of topology. + properties: + targetResourceGroupName: + description: The name of the target resource group to perform topology on. + type: string + targetSubnet: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + targetVirtualNetwork: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + TopologyResource: + description: The network resource topology information for the given resource group. + properties: + associations: + description: Holds the associations the resource has with other resources in the resource group. + items: + $ref: '#/definitions/TopologyAssociation' + type: array + id: + description: ID of the resource. + type: string + location: + description: Resource location. + type: string + name: + description: Name of the resource. + type: string + TrafficAnalyticsConfigurationProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + enabled: + description: Flag to enable/disable traffic analytics. + type: boolean + trafficAnalyticsInterval: + description: The interval in minutes which would decide how frequently TA service should do flow analytics. + type: integer + workspaceId: + description: The resource guid of the attached workspace. + type: string + workspaceRegion: + description: The location of the attached workspace. + type: string + workspaceResourceId: + description: Resource Id of the attached workspace. + type: string + TrafficAnalyticsProperties: + description: Parameters that define the configuration of traffic analytics. + properties: + networkWatcherFlowAnalyticsConfiguration: + $ref: '#/definitions/TrafficAnalyticsConfigurationProperties' + description: Parameters that define the configuration of traffic analytics. + TroubleshootingDetails: + description: Information gained from troubleshooting of specified resource. + properties: + detail: + description: Details on troubleshooting results. + type: string + id: + description: The id of the get troubleshoot operation. + type: string + reasonType: + description: Reason type of failure. + type: string + recommendedActions: + description: List of recommended actions. + items: + $ref: '#/definitions/TroubleshootingRecommendedActions' + type: array + summary: + description: A summary of troubleshooting. + type: string + TroubleshootingParameters: + description: Parameters that define the resource to troubleshoot. + properties: + properties: + $ref: '#/definitions/TroubleshootingProperties' + description: Properties of the troubleshooting resource. + x-ms-client-flatten: true + targetResourceId: + description: The target resource to troubleshoot. + type: string + required: + - targetResourceId + - properties + TroubleshootingProperties: + description: Storage location provided for troubleshoot. + properties: + storageId: + description: The ID for the storage account to save the troubleshoot result. + type: string + storagePath: + description: The path to the blob to save the troubleshoot result in. + type: string + required: + - storageId + - storagePath + TroubleshootingRecommendedActions: + description: Recommended actions based on discovered issues. + properties: + actionId: + description: ID of the recommended action. + type: string + actionText: + description: Description of recommended actions. + type: string + actionUri: + description: The uri linking to a documentation for the recommended troubleshooting actions. + type: string + actionUriText: + description: The information from the URI for the recommended troubleshooting actions. + type: string + TroubleshootingResult: + description: Troubleshooting information gained from specified resource. + properties: + code: + description: The result code of the troubleshooting. + type: string + endTime: + description: The end time of the troubleshooting. + format: date-time + type: string + results: + description: Information from troubleshooting. + items: + $ref: '#/definitions/TroubleshootingDetails' + type: array + startTime: + description: The start time of the troubleshooting. + format: date-time + type: string + VerificationIPFlowParameters: + description: Parameters that define the IP flow to be verified. + properties: + direction: + $ref: '#/definitions/Direction' + description: The direction of the packet represented as a 5-tuple. + localIPAddress: + description: The local IP address. Acceptable values are valid IPv4 addresses. + type: string + localPort: + description: 'The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + protocol: + description: Protocol to be verified on. + enum: + - TCP + - UDP + type: string + x-ms-enum: + modelAsString: true + name: IpFlowProtocol + remoteIPAddress: + description: The remote IP address. Acceptable values are valid IPv4 addresses. + type: string + remotePort: + description: 'The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.' + type: string + targetNicResourceId: + description: 'The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).' + type: string + targetResourceId: + description: The ID of the target resource to perform next-hop on. + type: string + required: + - targetResourceId + - direction + - protocol + - localPort + - remotePort + - localIPAddress + - remoteIPAddress + VerificationIPFlowResult: + description: Results of IP flow verification on the target resource. + properties: + access: + description: Access to be allowed or denied. + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: Access + ruleName: + description: 'Name of the rule. If input is not matched against any security rule, it is not displayed.' + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcherConnectionMonitorV1/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcherConnectionMonitorV1/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..928d173fc168c7b89339da3e44ea3b10178ab1c4 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-networkWatcherConnectionMonitorV1/2019-06-01/swagger.yaml @@ -0,0 +1,1024 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/networkWatcherConnectionMonitorV1.json' + version: '2.0' + x-providerName: azure.com + x-serviceName: network-networkWatcherConnectionMonitorV1 + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors': + get: + description: Lists all connection monitors for the specified Network Watcher. + operationId: ConnectionMonitors_List + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful connection monitor enumeration request. + schema: + $ref: '#/definitions/ConnectionMonitorListResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + List connection monitors: + parameters: + api-version: '2019-06-01' + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + - etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2 + location: centraluseuap + name: cm2 + properties: + autoStart: true + destination: + address: google.com + port: 80 + monitoringIntervalInSeconds: 30 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2 + startTime: '2018-01-08T05:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}': + delete: + description: Deletes the specified connection monitor. + operationId: ConnectionMonitors_Delete + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '202': + description: Accepted. The operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Delete connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets a connection monitor by name. + operationId: ConnectionMonitors_Get + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Get connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: centraluseuap + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2018-01-08T03:42:33.3387305Z' + type: Microsoft.Network/networkWatchers/connectionMonitors + patch: + description: Update tags of the specified connection monitor. + operationId: ConnectionMonitors_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network watcher. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters supplied to update connection monitor tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns updated connection monitor. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Update connection monitor tags: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + parameters: + tags: + tag1: value1 + tag2: value2 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-000000000000" + id: /subscriptions/subid/`/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: westcentralus + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: Running + provisioningState: Succeeded + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + startTime: '2019-09-04T02:48:10.6797393Z' + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/networkWatchers/connectionMonitors + put: + description: Create or update a connection monitor. + operationId: ConnectionMonitors_CreateOrUpdate + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Parameters that define the operation to create a connection monitor. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionMonitor' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + '201': + description: Create successful. The operation returns the resulting network watcher resource. + schema: + $ref: '#/definitions/ConnectionMonitorResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Create connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + parameters: + location: eastus + properties: + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + source: + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: eastus + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + '201': + body: + etag: W/"e7497f26-5f09-4559-900b-fe98f3dedb6f" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1 + location: eastus + name: cm1 + properties: + autoStart: true + destination: + address: bing.com + port: 80 + monitoringIntervalInSeconds: 60 + monitoringStatus: NotStarted + provisioningState: Updating + source: + port: 0 + resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 + type: Microsoft.Network/networkWatchers/connectionMonitors + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query': + post: + description: Query a snapshot of the most recent connection states. + operationId: ConnectionMonitors_Query + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name given to the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Successful query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + '202': + description: Accepted query of connection states. + schema: + $ref: '#/definitions/ConnectionMonitorQueryResult' + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Query connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + '202': + body: + sourceStatus: Active + states: + - connectionState: Reachable + endTime: '2018-01-08T05:12:41.5265438Z' + evaluationState: Completed + hops: + - address: 10.1.1.4 + id: 7dbbe7aa-60ba-4650-831e-63d775d38e9e + issues: [] + nextHopIds: + - 75c8d819-b208-4584-a311-1aa45ce753f9 + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1 + type: Source + - address: 192.168.100.4 + id: 75c8d819-b208-4584-a311-1aa45ce753f9 + issues: [] + nextHopIds: [] + resourceId: subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1 + type: VirtualNetwork + startTime: '2018-01-08T03:42:33.3387305Z' + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start': + post: + description: Starts the specified connection monitor. + operationId: ConnectionMonitors_Start + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation starts the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Start connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop': + post: + description: Stops the specified connection monitor. + operationId: ConnectionMonitors_Stop + parameters: + - description: The name of the resource group containing Network Watcher. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Network Watcher resource. + in: path + name: networkWatcherName + required: true + type: string + - description: The name of the connection monitor. + in: path + name: connectionMonitorName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation stops the connection monitor. + '202': + description: Accepted. The operation will complete asynchronously. + default: + description: Error response describing why the operation failed. + schema: + description: The error object. + properties: + error: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - ConnectionMonitors + x-ms-examples: + Stop connection monitor: + parameters: + api-version: '2019-06-01' + connectionMonitorName: cm1 + networkWatcherName: nw1 + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + ConnectionMonitor: + description: Parameters that define the operation to create a connection monitor. + properties: + location: + description: Connection monitor location. + type: string + properties: + $ref: '#/definitions/ConnectionMonitorParameters' + description: Properties of the connection monitor. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + required: + - properties + ConnectionMonitorDestination: + description: Describes the destination of connection monitor. + properties: + address: + description: Address of the connection monitor destination (IP or domain name). + type: string + port: + description: The destination port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the destination by connection monitor. + type: string + ConnectionMonitorListResult: + description: List of connection monitors. + properties: + value: + description: Information about connection monitors. + items: + $ref: '#/definitions/ConnectionMonitorResult' + type: array + ConnectionMonitorParameters: + description: Parameters that define the operation to create a connection monitor. + properties: + autoStart: + default: true + description: Determines if the connection monitor will start automatically once created. + type: boolean + destination: + $ref: '#/definitions/ConnectionMonitorDestination' + description: Describes the destination of connection monitor. + monitoringIntervalInSeconds: + default: 60 + description: Monitoring interval in seconds. + type: integer + source: + $ref: '#/definitions/ConnectionMonitorSource' + description: Describes the source of connection monitor. + required: + - source + - destination + ConnectionMonitorQueryResult: + description: List of connection states snapshots. + properties: + sourceStatus: + description: Status of connection monitor source. + enum: + - Unknown + - Active + - Inactive + type: string + x-ms-enum: + modelAsString: true + name: ConnectionMonitorSourceStatus + states: + description: Information about connection states. + items: + $ref: '#/definitions/ConnectionStateSnapshot' + type: array + ConnectionMonitorResult: + description: Information about the connection monitor. + properties: + etag: + default: A unique read-only string that changes whenever the resource is updated. + description: A unique read-only string that changes whenever the resource is updated. + type: string + id: + description: ID of the connection monitor. + readOnly: true + type: string + location: + description: Connection monitor location. + type: string + name: + description: Name of the connection monitor. + readOnly: true + type: string + properties: + $ref: '#/definitions/ConnectionMonitorResultProperties' + description: Properties of the connection monitor result. + x-ms-client-flatten: true + tags: + additionalProperties: + type: string + description: Connection monitor tags. + type: object + type: + description: Connection monitor type. + readOnly: true + type: string + x-ms-azure-resource: true + ConnectionMonitorResultProperties: + allOf: + - $ref: '#/definitions/ConnectionMonitorParameters' + description: Describes the properties of a connection monitor. + properties: + monitoringStatus: + description: The monitoring status of the connection monitor. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + startTime: + description: The date and time when the connection monitor was started. + format: date-time + type: string + ConnectionMonitorSource: + description: Describes the source of connection monitor. + properties: + port: + description: The source port used by connection monitor. + type: integer + resourceId: + description: The ID of the resource used as the source by connection monitor. + type: string + required: + - resourceId + ConnectionStateSnapshot: + description: Connection state snapshot. + properties: + avgLatencyInMs: + description: Average latency in ms. + type: integer + connectionState: + description: The connection state. + enum: + - Reachable + - Unreachable + - Unknown + type: string + x-ms-enum: + modelAsString: true + name: ConnectionState + endTime: + description: The end time of the connection snapshot. + format: date-time + type: string + evaluationState: + description: Connectivity analysis evaluation state. + enum: + - NotStarted + - InProgress + - Completed + type: string + x-ms-enum: + modelAsString: true + name: EvaluationState + hops: + description: List of hops between the source and the destination. + items: + description: Information about a hop between the source and the destination. + properties: + address: + description: The IP address of the hop. + readOnly: true + type: string + id: + description: The ID of the hop. + readOnly: true + type: string + issues: + description: List of issues. + items: + description: Information about an issue encountered in the process of checking for connectivity. + properties: + context: + description: Provides additional context on the issue. + items: + additionalProperties: + type: string + description: A key-value pair that provides additional context on the issue. + type: object + readOnly: true + type: array + origin: + description: The origin of the issue. + enum: + - Local + - Inbound + - Outbound + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Origin + severity: + description: The severity of the issue. + enum: + - Error + - Warning + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: Severity + type: + description: The type of issue. + enum: + - Unknown + - AgentStopped + - GuestFirewall + - DnsResolution + - SocketBind + - NetworkSecurityRule + - UserDefinedRoute + - PortThrottled + - Platform + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: IssueType + readOnly: true + type: array + nextHopIds: + description: List of next hop identifiers. + items: + type: string + readOnly: true + type: array + resourceId: + description: The ID of the resource corresponding to this hop. + readOnly: true + type: string + type: + description: The type of the hop. + readOnly: true + type: string + readOnly: true + type: array + maxLatencyInMs: + description: Maximum latency in ms. + type: integer + minLatencyInMs: + description: Minimum latency in ms. + type: integer + probesFailed: + description: The number of failed probes. + type: integer + probesSent: + description: The number of sent probes. + type: integer + startTime: + description: The start time of the connection snapshot. + format: date-time + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ef75138ab061f403930532ec33c2521430c65c87 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-09-01/swagger.yaml @@ -0,0 +1,297 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2017-09-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c09fd32e0fb39def8c6c898248c73f3b3fdf474 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-10-01/swagger.yaml @@ -0,0 +1,297 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2017-10-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..87443987910fe256a7d48571a0db0192469e4b29 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2017-11-01/swagger.yaml @@ -0,0 +1,297 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2017-11-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b44612d36d86e3327bc21cc5d7dd6ff991a38a9b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-01-01/swagger.yaml @@ -0,0 +1,297 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-01-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..18f93e93e3b10888eb66a4ac1b7cd04c72e49273 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-02-01/swagger.yaml @@ -0,0 +1,297 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-02-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e8650f4fecd9b414a2175cbc7c45cfe644f618b9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-04-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-04-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0d5262450c15e63caf21efb7e71cb86431689aba --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-06-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-06-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0416f9c16739d70e223ac9b78827ed5d8da4e910 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-07-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-07-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..54d240dd5a9760c467b3b0662dca4374e718bb88 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-08-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-08-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0d4b92d05bf7823753b22c8ae88fce1a1cf2c0bc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-10-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-10-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..61fdc4bd9a93d532774ff427675558f207a4d413 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-11-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-11-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9561bdd1c9383456a97834b7b1d8e42a5ea36473 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2018-12-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2018-12-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2fe4b572ac804e3a97f54d0d837b11b463db4d3b --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-02-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2019-02-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4bc0012b418a8ed8e84193e1ca36bd21981c91a8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-04-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2019-04-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}.' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..06dd04d126c3dda3ecfcb6041abaa2c9097991d6 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-06-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2019-06-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}.' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8ab7cd83a6af45addf6db77929d663b951b0a94e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-07-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/operation.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2019-07-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}.' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7fb43232914e9d9c832d801d565fa21d28a3e0c5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-operation/2019-08-01/swagger.yaml @@ -0,0 +1,288 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/operation.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-operation + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + /providers/Microsoft.Network/operations: + get: + description: Lists all of the available Network Rest API operations. + operationId: Operations_List + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: OK. The request has succeeded. + schema: + $ref: '#/definitions/OperationListResult' + x-ms-examples: + Get a list of operations for a resource provider: + parameters: + api-version: '2019-08-01' + location: westus + subscriptionId: subid + responses: + '200': + body: + value: + - display: + description: Gets LocalNetworkGateway + operation: Get LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/read + - display: + description: Creates or updates an existing LocalNetworkGateway + operation: Create or update LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/write + - display: + description: Deletes LocalNetworkGateway + operation: Delete LocalNetworkGateway + provider: Microsoft Network + resource: LocalNetworkGateway + name: Microsoft.Network/localnetworkgateways/delete + - display: + description: Gets available metrics for the Network Interface + operation: Read Network Interface metric definitions + provider: Microsoft Network + resource: Network Interface metric definition + name: Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read + origin: system + properties: + serviceSpecification: + metricSpecifications: + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface sent + displayName: Bytes Sent + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesSentRate + unit: Count + - aggregationType: Total + availabilities: + - blobDuration: '01:00:00' + retention: '00:00:00' + timeGrain: '00:01:00' + - blobDuration: '1.00:00:00' + retention: '00:00:00' + timeGrain: '01:00:00' + dimensions: [] + displayDescription: Number of bytes the Network Interface received + displayName: Bytes Received + enableRegionalMdmAccount: false + fillGapWithZero: false + isInternal: false + metricFilterPattern: ^__Ready__$ + name: BytesReceivedRate + unit: Count + - display: + description: Gets the events for network security group + operation: Get Network Security Group Event Log Definitions + provider: Microsoft Network + resource: Network Security Groups Log Definitions + name: Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read + origin: system + properties: + serviceSpecification: + logSpecifications: + - blobDuration: PT1H + displayName: Network Security Group Event + name: NetworkSecurityGroupEvent + - blobDuration: PT1H + displayName: Network Security Group Rule Counter + name: NetworkSecurityGroupRuleCounter + - blobDuration: PT1H + displayName: Network Security Group Rule Flow Event + name: NetworkSecurityGroupFlowEvent + x-ms-pageable: + nextLinkName: nextLink +definitions: + Availability: + description: Availability of the metric. + properties: + blobDuration: + description: Duration of the availability blob. + type: string + retention: + description: The retention of the availability. + type: string + timeGrain: + description: The time grain of the availability. + type: string + Dimension: + description: Dimension of the metric. + properties: + displayName: + description: The display name of the dimension. + type: string + internalName: + description: The internal name of the dimension. + type: string + name: + description: The name of the dimension. + type: string + LogSpecification: + description: Description of logging specification. + properties: + blobDuration: + description: Duration of the blob. + type: string + displayName: + description: The display name of the specification. + type: string + name: + description: The name of the specification. + type: string + MetricSpecification: + description: Description of metrics specification. + properties: + aggregationType: + description: The aggregation type. + type: string + availabilities: + description: List of availability. + items: + $ref: '#/definitions/Availability' + type: array + dimensions: + description: List of dimensions. + items: + $ref: '#/definitions/Dimension' + type: array + displayDescription: + description: The description of the metric. + type: string + displayName: + description: The display name of the metric. + type: string + enableRegionalMdmAccount: + description: Whether regional MDM account enabled. + type: boolean + fillGapWithZero: + description: Whether gaps would be filled with zeros. + type: boolean + isInternal: + description: Whether the metric is internal. + type: boolean + metricFilterPattern: + description: Pattern for the filter of the metric. + type: string + name: + description: The name of the metric. + type: string + resourceIdDimensionNameOverride: + description: The resource Id dimension name override. + type: string + sourceMdmAccount: + description: The source MDM account. + type: string + sourceMdmNamespace: + description: The source MDM namespace. + type: string + unit: + description: Units the metric to be displayed in. + type: string + Operation: + description: Network REST API operation definition. + properties: + display: + description: Display metadata associated with the operation. + properties: + description: + description: Description of the operation. + type: string + operation: + description: 'Type of the operation: get, read, delete, etc.' + type: string + provider: + description: 'Service provider: Microsoft Network.' + type: string + resource: + description: Resource on which the operation is performed. + type: string + name: + description: 'Operation name: {provider}/{resource}/{operation}.' + type: string + origin: + description: Origin of the operation. + type: string + properties: + $ref: '#/definitions/OperationPropertiesFormat' + description: Operation properties format. + x-ms-client-flatten: true + type: object + OperationListResult: + description: Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + properties: + nextLink: + description: URL to get the next set of operation list results if there are any. + type: string + value: + description: List of Network operations supported by the Network resource provider. + items: + $ref: '#/definitions/Operation' + type: array + OperationPropertiesFormat: + description: Description of operation properties format. + properties: + serviceSpecification: + description: Specification of the service. + properties: + logSpecifications: + description: Operation log specification. + items: + $ref: '#/definitions/LogSpecification' + type: array + metricSpecifications: + description: Operation service specification. + items: + $ref: '#/definitions/MetricSpecification' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..57bca7ab99035a2a4ba291c90d599f556bb94bb9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-04-01/swagger.yaml @@ -0,0 +1,1088 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types: + parameters: + api-version: '2019-04-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a subscription. + operationId: PrivateEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List all private endpoints: + parameters: + api-version: '2019-04-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3 + location: eastus + name: pe3 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3 + requestMessage: Please approve my connection for pe3. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_ListByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types in the resource group: + parameters: + api-version: '2019-04-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a resource group. + operationId: PrivateEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List private endpoints in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}': + delete: + description: Deletes the specified private endpoint. + operationId: PrivateEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Delete private endpoint: + parameters: + api-version: '2019-04-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private endpoint by resource group. + operationId: PrivateEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Get private endpoint: + parameters: + api-version: '2019-04-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + Get private endpoint with manual approval connection: + parameters: + api-version: '2019-04-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + put: + description: Creates or updates an private endpoint in the specified resource group. + operationId: PrivateEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Parameters supplied to the create or update private endpoint operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + '201': + description: Create successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Create private endpoint: + parameters: + api-version: '2019-04-01' + parameters: + properties: + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + Create private endpoint with manual approval connection: + parameters: + api-version: '2019-04-01' + parameters: + location: eastus2euap + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AvailablePrivateEndpointType: + description: The information of an AvailablePrivateEndpointType. + properties: + id: + description: A unique identifier of the AvailablePrivateEndpoint Type resource. + type: string + name: + description: The name of the service and resource. + type: string + resourceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailablePrivateEndpointTypesResult: + description: An array of available PrivateEndpoint types. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available privateEndpoint type. + items: + $ref: '#/definitions/AvailablePrivateEndpointType' + type: array + PrivateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + PrivateEndpointListResult: + description: Response for the ListPrivateEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of private endpoint resources in a resource group. + items: + $ref: '#/definitions/PrivateEndpoint' + type: array + PrivateEndpointProperties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for this private endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. + PrivateLinkServiceConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceConnectionProperties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c16444e0557da4fa4009f607a43e4be6cf7d4ac2 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-06-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types: + parameters: + api-version: '2019-06-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a subscription. + operationId: PrivateEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List all private endpoints: + parameters: + api-version: '2019-06-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3 + location: eastus + name: pe3 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3 + requestMessage: Please approve my connection for pe3. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_ListByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types in the resource group: + parameters: + api-version: '2019-06-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a resource group. + operationId: PrivateEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List private endpoints in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}': + delete: + description: Deletes the specified private endpoint. + operationId: PrivateEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Delete private endpoint: + parameters: + api-version: '2019-06-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private endpoint by resource group. + operationId: PrivateEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Get private endpoint: + parameters: + api-version: '2019-06-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + Get private endpoint with manual approval connection: + parameters: + api-version: '2019-06-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + put: + description: Creates or updates an private endpoint in the specified resource group. + operationId: PrivateEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Parameters supplied to the create or update private endpoint operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + '201': + description: Create successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Create private endpoint: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus2euap + properties: + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + Create private endpoint with manual approval connection: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AvailablePrivateEndpointType: + description: The information of an AvailablePrivateEndpointType. + properties: + id: + description: A unique identifier of the AvailablePrivateEndpoint Type resource. + type: string + name: + description: The name of the service and resource. + type: string + resourceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailablePrivateEndpointTypesResult: + description: An array of available PrivateEndpoint types. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available privateEndpoint type. + items: + $ref: '#/definitions/AvailablePrivateEndpointType' + type: array + PrivateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + PrivateEndpointListResult: + description: Response for the ListPrivateEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of private endpoint resources in a resource group. + items: + $ref: '#/definitions/PrivateEndpoint' + type: array + PrivateEndpointProperties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for this private endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. + PrivateLinkServiceConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceConnectionProperties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..def450a257b780a0715a65b3cd757e15c6bb1a49 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-07-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateEndpoint.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types: + parameters: + api-version: '2019-07-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a subscription. + operationId: PrivateEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List all private endpoints: + parameters: + api-version: '2019-07-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3 + location: eastus + name: pe3 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3 + requestMessage: Please approve my connection for pe3. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_ListByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types in the resource group: + parameters: + api-version: '2019-07-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a resource group. + operationId: PrivateEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List private endpoints in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}': + delete: + description: Deletes the specified private endpoint. + operationId: PrivateEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Delete private endpoint: + parameters: + api-version: '2019-07-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private endpoint by resource group. + operationId: PrivateEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Get private endpoint: + parameters: + api-version: '2019-07-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + Get private endpoint with manual approval connection: + parameters: + api-version: '2019-07-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + put: + description: Creates or updates an private endpoint in the specified resource group. + operationId: PrivateEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Parameters supplied to the create or update private endpoint operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + '201': + description: Create successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Create private endpoint: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus2euap + properties: + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + Create private endpoint with manual approval connection: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AvailablePrivateEndpointType: + description: The information of an AvailablePrivateEndpointType. + properties: + id: + description: A unique identifier of the AvailablePrivateEndpoint Type resource. + type: string + name: + description: The name of the service and resource. + type: string + resourceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailablePrivateEndpointTypesResult: + description: An array of available PrivateEndpoint types. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available privateEndpoint type. + items: + $ref: '#/definitions/AvailablePrivateEndpointType' + type: array + PrivateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + PrivateEndpointListResult: + description: Response for the ListPrivateEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of private endpoint resources in a resource group. + items: + $ref: '#/definitions/PrivateEndpoint' + type: array + PrivateEndpointProperties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this private endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. + PrivateLinkServiceConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceConnectionProperties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..588ebba61f138321dd786d3231e2d89c8272d8bc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateEndpoint/2019-08-01/swagger.yaml @@ -0,0 +1,1089 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateEndpoint.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-privateEndpoint + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_List + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types: + parameters: + api-version: '2019-08-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a subscription. + operationId: PrivateEndpoints_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List all private endpoints: + parameters: + api-version: '2019-08-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3 + location: eastus + name: pe3 + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3 + requestMessage: Please approve my connection for pe3. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes': + get: + description: Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + operationId: AvailablePrivateEndpointTypes_ListByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. + schema: + $ref: '#/definitions/AvailablePrivateEndpointTypesResult' + x-ms-examples: + Get available PrivateEndpoint types in the resource group: + parameters: + api-version: '2019-08-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType + resourceName: Microsoft.Provider/resourceType + type: Microsoft.Network/availablePrivateEndpointTypes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints': + get: + description: Gets all private endpoints in a resource group. + operationId: PrivateEndpoints_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of private endpoint resources. + schema: + $ref: '#/definitions/PrivateEndpointListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + List private endpoints in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1 + location: eastus + name: pe1 + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + requestMessage: Please approve my connection for pe1. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2 + location: eastus + name: pe2 + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + requestMessage: Please manually approve my connection for pe2. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2 + type: Microsoft.Network/privateEndpoints + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}': + delete: + description: Deletes the specified private endpoint. + operationId: PrivateEndpoints_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Delete private endpoint: + parameters: + api-version: '2019-08-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private endpoint by resource group. + operationId: PrivateEndpoints_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Get private endpoint: + parameters: + api-version: '2019-08-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + Get private endpoint with manual approval connection: + parameters: + api-version: '2019-08-01' + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + type: Microsoft.Network/privateEndpoints + put: + description: Creates or updates an private endpoint in the specified resource group. + operationId: PrivateEndpoints_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private endpoint. + in: path + name: privateEndpointName + required: true + type: string + - description: Parameters supplied to the create or update private endpoint operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpoint' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + '201': + description: Create successful. The operation returns the resulting private endpoint resource. + schema: + $ref: '#/definitions/PrivateEndpoint' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateEndpoints + x-ms-examples: + Create private endpoint: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus2euap + properties: + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + manualPrivateLinkServiceConnections: [] + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus2euap + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + Create private endpoint with manual approval connection: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + privateEndpointName: testPe + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + manualPrivateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Awaiting approval + status: Pending + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please manually approve my connection. + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: [] + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + location: eastus + name: testPe + properties: + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234 + privateLinkServiceConnections: + - properties: + groupIds: + - groupIdFromResource + privateLinkServiceConnectionState: + actionsRequired: None + description: Auto-approved + status: Approved + privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + requestMessage: Please approve my connection. + provisioningState: Succeeded + subnet: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + AvailablePrivateEndpointType: + description: The information of an AvailablePrivateEndpointType. + properties: + id: + description: A unique identifier of the AvailablePrivateEndpoint Type resource. + type: string + name: + description: The name of the service and resource. + type: string + resourceName: + description: The name of the service and resource. + type: string + type: + description: Resource type. + type: string + AvailablePrivateEndpointTypesResult: + description: An array of available PrivateEndpoint types. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of available privateEndpoint type. + items: + $ref: '#/definitions/AvailablePrivateEndpointType' + type: array + PrivateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + PrivateEndpointListResult: + description: Response for the ListPrivateEndpoints API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of private endpoint resources in a resource group. + items: + $ref: '#/definitions/PrivateEndpoint' + type: array + PrivateEndpointProperties: + description: Properties of the private endpoint. + properties: + manualPrivateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this private endpoint. + items: + $ref: './networkInterface.json#/definitions/NetworkInterface' + readOnly: true + type: array + privateLinkServiceConnections: + description: A grouping of information about the connection to the remote resource. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + $ref: './virtualNetwork.json#/definitions/Subnet' + description: The ID of the subnet from which the private IP will be allocated. + PrivateLinkServiceConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateLinkServiceConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceConnectionProperties: + description: Properties of the PrivateLinkServiceConnection. + properties: + groupIds: + description: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. + items: + type: string + type: array + privateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + privateLinkServiceId: + description: The resource id of private link service. + type: string + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + requestMessage: + description: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..34c7b22c51f9ef87111682ddce2c49c825337139 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-04-01/swagger.yaml @@ -0,0 +1,1441 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateLinkService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServices + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-04-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks the subscription is visible to private link service + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibility + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-04-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link service in a subscription. + operationId: PrivateLinkServices_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PrivateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List all private list service: + parameters: + api-version: '2019-04-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-04-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks the subscription is visible to private link service + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-04-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link services in a resource group. + operationId: PrivateLinkServices_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of privateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List private link service in resource group: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec2 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}': + delete: + description: Deletes the specified private link service. + operationId: PrivateLinkServices_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Delete private link service: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private link service by resource group. + operationId: PrivateLinkServices_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PrivateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Get private link service: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + privateEndpointConnections: + - name: privateEndpointConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + put: + description: Creates or updates an private link service in the specified resource group. + operationId: PrivateLinkServices_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Parameters supplied to the create or update private link service operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateLinkService' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + '201': + description: Create successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkService + x-ms-examples: + Create private link service: + parameters: + api-version: '2019-04-01' + parameters: + location: eastus2euap + properties: + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus2euap + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus2euap + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}': + delete: + description: Delete private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_DeletePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + delete private end point connection for a private link service: + parameters: + api-version: '2019-04-01' + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + put: + description: Approve or reject private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_UpdatePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Parameters supplied to approve or reject the private end point connection. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PrivateEndpointConnection resource + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + approve or reject private end point connection for a private link service: + parameters: + api-version: '2019-04-01' + parameters: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved +definitions: + AutoApprovedPrivateLinkService: + description: The information of an AutoApprovedPrivateLinkService. + properties: + privateLinkService: + description: The id of the private link service resource. + type: string + AutoApprovedPrivateLinkServicesResult: + description: An array of private link service id that can be linked to a private end point with auto approved. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of auto approved private link service. + items: + $ref: '#/definitions/AutoApprovedPrivateLinkService' + type: array + CheckPrivateLinkServiceVisibilityRequest: + description: Request body of the CheckPrivateLinkServiceVisibility API service call. + properties: + privateLinkServiceAlias: + description: The alias of the private link service. + type: string + FrontendIPConfigurationPropertiesFormat: {} + NetworkInterfacePropertiesFormat: {} + PrivateEndpointConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateEndpointConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Properties of the private end point connection. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateEndpointConnectionProperties: + description: Properties of the PrivateEndpointConnectProperties. + properties: + privateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionState' + description: A collection of information about the state of the connection between service consumer and provider. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PrivateEndpointProperties: {} + PrivateLinkService: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private link service resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceProperties' + description: Properties of the private link service. + x-ms-client-flatten: true + PrivateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + PrivateLinkServiceIpConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: The private link service ip configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of private link service ip configuration. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceIpConfigurationProperties' + description: Properties of the private link service ip configuration. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceIpConfigurationProperties: + description: Properties of private link service IP configuration. + properties: + primary: + description: Whether the ip configuration is primary or not. + type: boolean + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + PrivateLinkServiceListResult: + description: Response for the ListPrivateLinkService API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of PrivateLinkService resources in a resource group. + items: + $ref: '#/definitions/PrivateLinkService' + type: array + PrivateLinkServiceProperties: + description: Properties of the private link service. + properties: + alias: + description: The alias of the private link service. + readOnly: true + type: string + autoApproval: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The auto-approval list of the private link service. + fqdns: + description: The list of Fqdn. + items: + type: string + type: array + ipConfigurations: + description: An array of references to the private link service IP configuration. + items: + $ref: '#/definitions/PrivateLinkServiceIpConfiguration' + type: array + loadBalancerFrontendIpConfigurations: + description: An array of references to the load balancer IP configurations. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for this private link service. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + readOnly: true + type: array + privateEndpointConnections: + description: An array of list about connections to the private endpoint. + items: + $ref: '#/definitions/PrivateEndpointConnection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + visibility: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The visibility list of the private link service. + PrivateLinkServiceVisibility: + description: Response for the CheckPrivateLinkServiceVisibility API service call. + properties: + visible: + description: Private Link Service Visibility (True/False). + type: boolean + ResourceSet: + description: The base resource set for visibility and auto-approval. + properties: + subscriptions: + description: The list of subscriptions. + items: + type: string + type: array + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a7898475a96d51188bf9ce74c7fb86c42be38230 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-06-01/swagger.yaml @@ -0,0 +1,1445 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateLinkService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServices + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-06-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks the subscription is visible to private link service + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibility + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-06-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link service in a subscription. + operationId: PrivateLinkServices_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PrivateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List all private list service: + parameters: + api-version: '2019-06-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-06-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks the subscription is visible to private link service + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-06-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link services in a resource group. + operationId: PrivateLinkServices_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of privateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List private link service in resource group: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec2 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}': + delete: + description: Deletes the specified private link service. + operationId: PrivateLinkServices_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Delete private link service: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private link service by resource group. + operationId: PrivateLinkServices_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PrivateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Get private link service: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + privateEndpointConnections: + - name: privateEndpointConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + put: + description: Creates or updates an private link service in the specified resource group. + operationId: PrivateLinkServices_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Parameters supplied to the create or update private link service operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateLinkService' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + '201': + description: Create successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkService + x-ms-examples: + Create private link service: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus + properties: + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}': + delete: + description: Delete private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_DeletePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + delete private end point connection for a private link service: + parameters: + api-version: '2019-06-01' + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + put: + description: Approve or reject private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_UpdatePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Parameters supplied to approve or reject the private end point connection. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PrivateEndpointConnection resource + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + approve or reject private end point connection for a private link service: + parameters: + api-version: '2019-06-01' + parameters: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved +definitions: + AutoApprovedPrivateLinkService: + description: The information of an AutoApprovedPrivateLinkService. + properties: + privateLinkService: + description: The id of the private link service resource. + type: string + AutoApprovedPrivateLinkServicesResult: + description: An array of private link service id that can be linked to a private end point with auto approved. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of auto approved private link service. + items: + $ref: '#/definitions/AutoApprovedPrivateLinkService' + type: array + CheckPrivateLinkServiceVisibilityRequest: + description: Request body of the CheckPrivateLinkServiceVisibility API service call. + properties: + privateLinkServiceAlias: + description: The alias of the private link service. + type: string + FrontendIPConfigurationPropertiesFormat: {} + NetworkInterfacePropertiesFormat: {} + PrivateEndpointConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateEndpointConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Properties of the private end point connection. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateEndpointConnectionProperties: + description: Properties of the PrivateEndpointConnectProperties. + properties: + privateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionState' + description: A collection of information about the state of the connection between service consumer and provider. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PrivateEndpointProperties: {} + PrivateLinkService: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private link service resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceProperties' + description: Properties of the private link service. + x-ms-client-flatten: true + PrivateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + PrivateLinkServiceIpConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: The private link service ip configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of private link service ip configuration. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceIpConfigurationProperties' + description: Properties of the private link service ip configuration. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceIpConfigurationProperties: + description: Properties of private link service IP configuration. + properties: + primary: + description: Whether the ip configuration is primary or not. + type: boolean + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + PrivateLinkServiceListResult: + description: Response for the ListPrivateLinkService API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: Gets a list of PrivateLinkService resources in a resource group. + items: + $ref: '#/definitions/PrivateLinkService' + type: array + PrivateLinkServiceProperties: + description: Properties of the private link service. + properties: + alias: + description: The alias of the private link service. + readOnly: true + type: string + autoApproval: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The auto-approval list of the private link service. + fqdns: + description: The list of Fqdn. + items: + type: string + type: array + ipConfigurations: + description: An array of references to the private link service IP configuration. + items: + $ref: '#/definitions/PrivateLinkServiceIpConfiguration' + type: array + loadBalancerFrontendIpConfigurations: + description: An array of references to the load balancer IP configurations. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + networkInterfaces: + description: Gets an array of references to the network interfaces created for this private link service. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + readOnly: true + type: array + privateEndpointConnections: + description: An array of list about connections to the private endpoint. + items: + $ref: '#/definitions/PrivateEndpointConnection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + visibility: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The visibility list of the private link service. + PrivateLinkServiceVisibility: + description: Response for the CheckPrivateLinkServiceVisibility API service call. + properties: + visible: + description: Private Link Service Visibility (True/False). + type: boolean + ResourceSet: + description: The base resource set for visibility and auto-approval. + properties: + subscriptions: + description: The list of subscriptions. + items: + type: string + type: array + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b74bd44639f234bf22d818eb8d78fa598d2e30e5 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-07-01/swagger.yaml @@ -0,0 +1,1445 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateLinkService.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-privateLinkService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServices + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-07-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks whether the subscription is visible to private link service. + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibility + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-07-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link service in a subscription. + operationId: PrivateLinkServices_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PrivateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List all private list service: + parameters: + api-version: '2019-07-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-07-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks whether the subscription is visible to private link service in the specified resource group. + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-07-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link services in a resource group. + operationId: PrivateLinkServices_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of privateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List private link service in resource group: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec2 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}': + delete: + description: Deletes the specified private link service. + operationId: PrivateLinkServices_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Delete private link service: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private link service by resource group. + operationId: PrivateLinkServices_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PrivateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Get private link service: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + privateEndpointConnections: + - name: privateEndpointConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + put: + description: Creates or updates an private link service in the specified resource group. + operationId: PrivateLinkServices_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Parameters supplied to the create or update private link service operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateLinkService' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + '201': + description: Create successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkService + x-ms-examples: + Create private link service: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus + properties: + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}': + delete: + description: Delete private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_DeletePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + delete private end point connection for a private link service: + parameters: + api-version: '2019-07-01' + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + put: + description: Approve or reject private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_UpdatePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Parameters supplied to approve or reject the private end point connection. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PrivateEndpointConnection resource. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + approve or reject private end point connection for a private link service: + parameters: + api-version: '2019-07-01' + parameters: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved +definitions: + AutoApprovedPrivateLinkService: + description: The information of an AutoApprovedPrivateLinkService. + properties: + privateLinkService: + description: The id of the private link service resource. + type: string + AutoApprovedPrivateLinkServicesResult: + description: An array of private link service id that can be linked to a private end point with auto approved. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of auto approved private link service. + items: + $ref: '#/definitions/AutoApprovedPrivateLinkService' + type: array + CheckPrivateLinkServiceVisibilityRequest: + description: Request body of the CheckPrivateLinkServiceVisibility API service call. + properties: + privateLinkServiceAlias: + description: The alias of the private link service. + type: string + FrontendIPConfigurationPropertiesFormat: {} + NetworkInterfacePropertiesFormat: {} + PrivateEndpointConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateEndpointConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Properties of the private end point connection. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateEndpointConnectionProperties: + description: Properties of the PrivateEndpointConnectProperties. + properties: + privateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionState' + description: A collection of information about the state of the connection between service consumer and provider. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PrivateEndpointProperties: {} + PrivateLinkService: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private link service resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceProperties' + description: Properties of the private link service. + x-ms-client-flatten: true + PrivateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + PrivateLinkServiceIpConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: The private link service ip configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of private link service ip configuration. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceIpConfigurationProperties' + description: Properties of the private link service ip configuration. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceIpConfigurationProperties: + description: Properties of private link service IP configuration. + properties: + primary: + description: Whether the ip configuration is primary or not. + type: boolean + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + PrivateLinkServiceListResult: + description: Response for the ListPrivateLinkService API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of PrivateLinkService resources in a resource group. + items: + $ref: '#/definitions/PrivateLinkService' + type: array + PrivateLinkServiceProperties: + description: Properties of the private link service. + properties: + alias: + description: The alias of the private link service. + readOnly: true + type: string + autoApproval: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The auto-approval list of the private link service. + fqdns: + description: The list of Fqdn. + items: + type: string + type: array + ipConfigurations: + description: An array of private link service IP configurations. + items: + $ref: '#/definitions/PrivateLinkServiceIpConfiguration' + type: array + loadBalancerFrontendIpConfigurations: + description: An array of references to the load balancer IP configurations. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this private link service. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + readOnly: true + type: array + privateEndpointConnections: + description: An array of list about connections to the private endpoint. + items: + $ref: '#/definitions/PrivateEndpointConnection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + visibility: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The visibility list of the private link service. + PrivateLinkServiceVisibility: + description: Response for the CheckPrivateLinkServiceVisibility API service call. + properties: + visible: + description: Private Link Service Visibility (True/False). + type: boolean + ResourceSet: + description: The base resource set for visibility and auto-approval. + properties: + subscriptions: + description: The list of subscriptions. + items: + type: string + type: array + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..586fb4fda5c4cf084354a79384cf018329b55ccf --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-privateLinkService/2019-08-01/swagger.yaml @@ -0,0 +1,1445 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateLinkService.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-privateLinkService + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServices + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-08-01' + location: regionName + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks whether the subscription is visible to private link service. + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibility + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-08-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link service in a subscription. + operationId: PrivateLinkServices_ListBySubscription + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PrivateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List all private list service: + parameters: + api-version: '2019-08-01' + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices': + get: + description: Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + operationId: PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. + schema: + $ref: '#/definitions/AutoApprovedPrivateLinkServicesResult' + tags: + - PrivateLinkServices + x-ms-examples: + Get list of private link service id that can be linked to a private end point with auto approved: + parameters: + api-version: '2019-08-01' + location: regionName + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + - privateLinkService: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3 + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility': + post: + description: Checks whether the subscription is visible to private link service in the specified resource group. + operationId: PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup + parameters: + - description: The location of the domain name. + in: path + name: location + required: true + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The request body of CheckPrivateLinkService API call. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/CheckPrivateLinkServiceVisibilityRequest' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. Returns whether the subscription is visible to private link service. + schema: + $ref: '#/definitions/PrivateLinkServiceVisibility' + tags: + - PrivateLinkServices + x-ms-examples: + Check private link service visibility: + parameters: + api-version: '2019-08-01' + location: westus + parameters: + privateLinkServiceAlias: mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + visible: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices': + get: + description: Gets all private link services in a resource group. + operationId: PrivateLinkServices_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of privateLinkService resources. + schema: + $ref: '#/definitions/PrivateLinkServiceListResult' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + List private link service in resource group: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subId + responses: + '200': + body: + value: + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1 + location: eastus + name: testPls1 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + fqdns: + - fqdn1 + - fqdn2 + ipConfigurations: + - name: fe-lb1 + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234 + privateEndpointConnections: + - name: pec1 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + type: Microsoft.Network/privateLinkServices + - id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2 + location: eastus + name: testPls2 + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb2 + properties: + privateIPAddress: 10.0.1.5 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2 + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2 + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678 + privateEndpointConnections: + - name: pec2 + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2 + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}': + delete: + description: Deletes the specified private link service. + operationId: PrivateLinkServices_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Delete private link service: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified private link service by resource group. + operationId: PrivateLinkServices_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PrivateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + Get private link service: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + privateEndpointConnections: + - name: privateEndpointConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + type: Microsoft.Network/privateLinkServices + put: + description: Creates or updates an private link service in the specified resource group. + operationId: PrivateLinkServices_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: Parameters supplied to the create or update private link service operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateLinkService' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + '201': + description: Create successful. The operation returns the resulting privateLinkService resource. + schema: + $ref: '#/definitions/PrivateLinkService' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkService + x-ms-examples: + Create private link service: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus + properties: + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + '201': + body: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls + location: eastus + name: testPls + properties: + alias: 'ContosoService.{guid}.azure.privatelinkservice' + autoApproval: + subscriptions: + - subscription1 + - subscription2 + fqdns: + - fqdn1 + - fqdn2 + - fqdn3 + ipConfigurations: + - name: fe-lb + properties: + privateIPAddress: 10.0.1.4 + privateIPAddressVersion: IPv4 + privateIPAllocationMethod: Static + subnet: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb + loadBalancerFrontendIpConfigurations: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb + networkInterfaces: + - id: /subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234 + provisioningState: Succeeded + visibility: + subscriptions: + - subscription1 + - subscription2 + - subscription3 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}': + delete: + description: Delete private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_DeletePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Delete successful. + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + delete private end point connection for a private link service: + parameters: + api-version: '2019-08-01' + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + put: + description: Approve or reject private end point connection for a private link service in a subscription. + operationId: PrivateLinkServices_UpdatePrivateEndpointConnection + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the private link service. + in: path + name: serviceName + required: true + type: string + - description: The name of the private end point connection. + in: path + name: peConnectionName + required: true + type: string + - description: Parameters supplied to approve or reject the private end point connection. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PrivateEndpointConnection' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PrivateEndpointConnection resource. + schema: + $ref: '#/definitions/PrivateEndpointConnection' + default: + description: Error. + schema: + description: Common error representation. + properties: + code: + description: Error code. + type: string + details: + description: Error details. + items: + description: Common error details representation. + properties: + code: + description: Error code. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + type: array + innerError: + description: Inner error message. + type: string + message: + description: Error message. + type: string + target: + description: Error target. + type: string + tags: + - PrivateLinkServices + x-ms-examples: + approve or reject private end point connection for a private link service: + parameters: + api-version: '2019-08-01' + parameters: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved + peConnectionName: testPlePeConnection + resourceGroupName: rg1 + serviceName: testPls + subscriptionId: subId + responses: + '200': + body: + name: testPlePeConnection + properties: + privateEndpoint: + id: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe + privateLinkServiceConnectionState: + description: approved it for some reason. + status: Approved +definitions: + AutoApprovedPrivateLinkService: + description: The information of an AutoApprovedPrivateLinkService. + properties: + privateLinkService: + description: The id of the private link service resource. + type: string + AutoApprovedPrivateLinkServicesResult: + description: An array of private link service id that can be linked to a private end point with auto approved. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: An array of auto approved private link service. + items: + $ref: '#/definitions/AutoApprovedPrivateLinkService' + type: array + CheckPrivateLinkServiceVisibilityRequest: + description: Request body of the CheckPrivateLinkServiceVisibility API service call. + properties: + privateLinkServiceAlias: + description: The alias of the private link service. + type: string + FrontendIPConfigurationPropertiesFormat: {} + NetworkInterfacePropertiesFormat: {} + PrivateEndpointConnection: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: PrivateEndpointConnection resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/PrivateEndpointConnectionProperties' + description: Properties of the private end point connection. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateEndpointConnectionProperties: + description: Properties of the PrivateEndpointConnectProperties. + properties: + privateEndpoint: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private endpoint resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateEndpointProperties' + description: Properties of the private endpoint. + x-ms-client-flatten: true + privateLinkServiceConnectionState: + $ref: '#/definitions/PrivateLinkServiceConnectionState' + description: A collection of information about the state of the connection between service consumer and provider. + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + PrivateEndpointProperties: {} + PrivateLinkService: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Private link service resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceProperties' + description: Properties of the private link service. + x-ms-client-flatten: true + PrivateLinkServiceConnectionState: + description: A collection of information about the state of the connection between service consumer and provider. + properties: + actionsRequired: + description: A message indicating if changes on the service provider require any updates on the consumer. + type: string + description: + description: The reason for approval/rejection of the connection. + type: string + status: + description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + type: string + PrivateLinkServiceIpConfiguration: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: The private link service ip configuration. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + readOnly: true + type: string + name: + description: The name of private link service ip configuration. + type: string + properties: + $ref: '#/definitions/PrivateLinkServiceIpConfigurationProperties' + description: Properties of the private link service ip configuration. + x-ms-client-flatten: true + type: + description: The resource type. + readOnly: true + type: string + PrivateLinkServiceIpConfigurationProperties: + description: Properties of private link service IP configuration. + properties: + primary: + description: Whether the ip configuration is primary or not. + type: boolean + privateIPAddress: + description: The private IP address of the IP configuration. + type: string + privateIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + subnet: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Subnet in a virtual network resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within a resource group. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + description: Properties of the subnet. + x-ms-client-flatten: true + PrivateLinkServiceListResult: + description: Response for the ListPrivateLinkService API service call. + properties: + nextLink: + description: The URL to get the next set of results. + readOnly: true + type: string + value: + description: A list of PrivateLinkService resources in a resource group. + items: + $ref: '#/definitions/PrivateLinkService' + type: array + PrivateLinkServiceProperties: + description: Properties of the private link service. + properties: + alias: + description: The alias of the private link service. + readOnly: true + type: string + autoApproval: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The auto-approval list of the private link service. + fqdns: + description: The list of Fqdn. + items: + type: string + type: array + ipConfigurations: + description: An array of private link service IP configurations. + items: + $ref: '#/definitions/PrivateLinkServiceIpConfiguration' + type: array + loadBalancerFrontendIpConfigurations: + description: An array of references to the load balancer IP configurations. + items: + allOf: + - description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + description: Frontend IP address of the load balancer. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + name: + description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + description: Properties of the load balancer probe. + x-ms-client-flatten: true + type: + description: Type of the resource. + readOnly: true + type: string + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + type: array + networkInterfaces: + description: An array of references to the network interfaces created for this private link service. + items: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: A network interface in a resource group. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + description: Properties of the network interface. + x-ms-client-flatten: true + readOnly: true + type: array + privateEndpointConnections: + description: An array of list about connections to the private endpoint. + items: + $ref: '#/definitions/PrivateEndpointConnection' + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + visibility: + allOf: + - $ref: '#/definitions/ResourceSet' + description: The visibility list of the private link service. + PrivateLinkServiceVisibility: + description: Response for the CheckPrivateLinkServiceVisibility API service call. + properties: + visible: + description: Private Link Service Visibility (True/False). + type: boolean + ResourceSet: + description: The base resource set for visibility and auto-approval. + properties: + subscriptions: + description: The list of subscriptions. + items: + type: string + type: array + SubnetPropertiesFormat: {} diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2015-06-15/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2015-06-15/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7f21f8b491abce36c619d1ca3d336e956da8b1bb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2015-06-15/swagger.yaml @@ -0,0 +1,273 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2015-06-15' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - description: Azure resource manager resource properties. + properties: + id: + description: Resource Identifier. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..11c4b6cd13adfb62b9847f8bf653110fece5187d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-09-01/swagger.yaml @@ -0,0 +1,282 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c91a7b8db5ad70ca4161a44fac38545239482dda --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2016-12-01/swagger.yaml @@ -0,0 +1,282 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-03-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-03-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..17435eef8ec8057a4aebb00b3d5989bfbb08490f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-03-01/swagger.yaml @@ -0,0 +1,282 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-03-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1ff03fe37ebce5356a9af1f9a69e9b50b70816bb --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-06-01/swagger.yaml @@ -0,0 +1,519 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2017-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2017-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2017-06-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2017-06-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2017-06-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2017-06-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2017-06-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e86c99767a6f22adab72a8859ab0e31619d44c35 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-08-01/swagger.yaml @@ -0,0 +1,553 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2017-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2017-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2017-08-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2017-08-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2017-08-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2017-08-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2017-08-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-09-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-09-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..14e5a2eeed9cef3bce615b29ee16f3d10f768c17 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-09-01/swagger.yaml @@ -0,0 +1,617 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-09-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2017-09-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2017-09-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2017-09-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2017-09-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2017-09-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2017-09-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2017-09-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2017-09-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..44a9bacf58a70ca4fa3c11d30cf8f71d08b4ea63 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-10-01/swagger.yaml @@ -0,0 +1,617 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2017-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2017-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2017-10-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2017-10-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2017-10-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2017-10-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2017-10-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2017-10-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1bdab3bb9f581d1aa38badcf882c9e92a9b59ade --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2017-11-01/swagger.yaml @@ -0,0 +1,648 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2017-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2017-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2017-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2017-11-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2017-11-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2017-11-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2017-11-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2017-11-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2017-11-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-01-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-01-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c2e93fe2566ab3be76a46f0a77e7b0a746bb7d53 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-01-01/swagger.yaml @@ -0,0 +1,648 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-01-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-01-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-01-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-01-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-01-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-01-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-01-01' + location: eastus + parameters: + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-01-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-01-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9009dba51797bd9ce8f94a6a803621131c685047 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-02-01/swagger.yaml @@ -0,0 +1,648 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client API version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-02-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-02-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-02-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-02-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-02-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-02-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..786c33f430febbc70bd6d40f082bee05f6807600 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-04-01/swagger.yaml @@ -0,0 +1,681 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-04-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-04-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-04-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-04-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-04-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-04-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ed43b6a57735fb15a42f5d287e628973897bdc4a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-06-01/swagger.yaml @@ -0,0 +1,681 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-06-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-06-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-06-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-06-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-06-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-06-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the public IP address + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d4ed7d2733d1349a35fbd24ac21362a9a794f15f --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-07-01/swagger.yaml @@ -0,0 +1,688 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-07-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-07-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-07-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-07-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-07-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-07-01' + location: eastus + parameters: {} + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b13405a95938aba7158cfca633807d5fb25cc073 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-08-01/swagger.yaml @@ -0,0 +1,688 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-08-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-08-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-08-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-08-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-08-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-08-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..836fe907029d96529f0375eced1c7b95101c3620 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-10-01/swagger.yaml @@ -0,0 +1,688 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-10-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-10-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-10-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-10-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-10-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-10-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a62cd0074e1ae8d1219db960a646cac1befc00b8 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-11-01/swagger.yaml @@ -0,0 +1,719 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-11-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-11-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-11-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-11-01' + parameters: + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-11-01' + parameters: + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-11-01' + parameters: {} + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c9082158a9faaec72f26f4db0e10404f0f4e3d6a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2018-12-01/swagger.yaml @@ -0,0 +1,722 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2018-12-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2018-12-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2018-12-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2018-12-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2018-12-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2018-12-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: 'The public IP allocation method. Possible values are: ''Static'' and ''Dynamic''.' + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b8f07ef970acd31ed04d532114a273d0c0bc0c04 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-02-01/swagger.yaml @@ -0,0 +1,732 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2019-02-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2019-02-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2019-02-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2019-02-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2019-02-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2019-02-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fb63f8eb0abf37ed04f3b853ef1b3e55133dcd08 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-04-01/swagger.yaml @@ -0,0 +1,732 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2019-04-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2019-04-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2019-04-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2019-04-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2019-04-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2019-04-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + IpTag: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..43380f3e50fcbd5616ab583c25b5cffba2151d6d --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-06-01/swagger.yaml @@ -0,0 +1,732 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2019-06-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2019-06-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2019-06-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2019-06-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + IpTag: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + type: array + provisioningState: + description: 'The provisioning state of the PublicIP resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cee142e9485d51a53079aa397636ba4485a7541e --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-07-01/swagger.yaml @@ -0,0 +1,741 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/publicIpAddress.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2019-07-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2019-07-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2019-07-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2019-07-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + IpTag: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: 'The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: 'The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP address resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d3826c0457d9e957ef1dc4fa868b9c907e8ce18a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpAddress/2019-08-01/swagger.yaml @@ -0,0 +1,741 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/publicIpAddress.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-publicIpAddress + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all the public IP addresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List all public IP addresses: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01 + location: westus + name: ip01 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: Gets all public IP addresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPAddress resources. + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-examples: + List resource group public IP addresses: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03 + location: westus + name: ip03 + properties: + dnsSettings: + domainNameLabel: testlbl + fqdn: testlbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipAddress: 40.85.154.247 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: Deletes the specified public IP address. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPAddresses + x-ms-examples: + Delete public IP address: + parameters: + api-version: '2019-08-01' + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP address in a specified resource group. + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Get public IP address: + parameters: + api-version: '2019-08-01' + publicIpAddressName: testDNS-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + - ipTagType: FirstPartyUsage + tag: Storage + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + patch: + description: Updates public IP address tags. + operationId: PublicIPAddresses_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to update public IP address tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Update public IP address tags: + parameters: + api-version: '2019-08-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: westus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP address. + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP address. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create or update public IP address operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: Create successful. The operation returns the resulting PublicIPAddress resource. + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-examples: + Create public IP address DNS: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus + properties: + dnsSettings: + domainNameLabel: dnslbl + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + dnsSettings: + domainNameLabel: dnslbl + fqdn: dnslbl.westus.cloudapp.azure.com + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + type: Microsoft.Network/publicIPAddresses + Create public IP address allocation method: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus + properties: + idleTimeoutInMinutes: 10 + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 10 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Static + sku: + name: Standard + type: Microsoft.Network/publicIPAddresses + zones: + - '1' + Create public IP address defaults: + parameters: + api-version: '2019-08-01' + parameters: + location: eastus + publicIpAddressName: test-ip + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + '201': + body: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip + location: eastus + name: testDNS-ip + properties: + idleTimeoutInMinutes: 4 + ipConfiguration: + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAllocationMethod: Dynamic + sku: + name: Basic + type: Microsoft.Network/publicIPAddresses + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation +definitions: + DdosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + IpTag: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + PublicIPAddress: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP address resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + description: Public IP address properties. + x-ms-client-flatten: true + sku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: 'The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP addresses that exists in a resource group. + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: Public IP address properties. + properties: + ddosSettings: + description: Contains the DDoS protection settings of the public IP. + properties: + ddosCustomPolicy: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + protectionCoverage: + description: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. + enum: + - Basic + - Standard + readOnly: false + type: string + x-ms-enum: + modelAsString: true + name: DdosSettingsProtectionCoverage + dnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address. + properties: + domainNameLabel: + description: 'The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. + type: string + reverseFqdn: + description: 'The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.' + type: string + idleTimeoutInMinutes: + description: The idle timeout of the public IP address. + format: int32 + type: integer + ipAddress: + description: The IP address associated with the public IP address resource. + type: string + ipConfiguration: + $ref: './networkInterface.json#/definitions/IPConfiguration' + description: The IP configuration associated with the public IP address. + readOnly: true + ipTags: + description: The list of tags associated with the public IP address. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + type: array + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: IP address allocation method. + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + publicIPPrefix: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + resourceGuid: + description: The resource GUID property of the public IP address resource. + type: string + PublicIPAddressSku: + description: SKU of a public IP address. + properties: + name: + description: Name of a public IP address SKU. + enum: + - Basic + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPAddressSkuName diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cdef361ca4280620f4d59a6dea304317d9a32e31 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-07-01/swagger.yaml @@ -0,0 +1,629 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2018-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2018-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2018-07-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Public IP Prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2018-07-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2018-07-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2018-07-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2018-07-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + $ref: '#/definitions/IpTag' + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + properties: + id: + description: The PublicIPAddress Reference + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c2142d31a76282418bdac4e42655ea253da54d86 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-08-01/swagger.yaml @@ -0,0 +1,629 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2018-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2018-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2018-08-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Public IP Prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2018-08-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2018-08-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2018-08-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2018-08-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + $ref: '#/definitions/IpTag' + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + properties: + id: + description: The PublicIPAddress Reference + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-10-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-10-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..20d012c40ed54d08a8f0d1cbf3fb84db14653171 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-10-01/swagger.yaml @@ -0,0 +1,629 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-10-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2018-10-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2018-10-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2018-10-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the Public IP Prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2018-10-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2018-10-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2018-10-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2018-10-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + $ref: '#/definitions/IpTag' + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + properties: + id: + description: The PublicIPAddress Reference + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-11-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-11-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..53c1f66763473554b780a7c67e1d013b1094b90a --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-11-01/swagger.yaml @@ -0,0 +1,629 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-11-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2018-11-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2018-11-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2018-11-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIPPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2018-11-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2018-11-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2018-11-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2018-11-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true +definitions: + IpTag: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + $ref: '#/definitions/IpTag' + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + properties: + id: + description: The PublicIPAddress Reference + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-12-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-12-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e83771f1f1ef3c4640688855fa947e35f2fdff65 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2018-12-01/swagger.yaml @@ -0,0 +1,627 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2018-12-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2018-12-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2018-12-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2018-12-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2018-12-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2018-12-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2018-12-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2018-12-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: 'The public IP address version. Possible values are: ''IPv4'' and ''IPv6''.' + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + properties: + id: + description: The PublicIPAddress Reference + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-02-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-02-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6450971a8cba403e149144d528dc1359d900bf51 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-02-01/swagger.yaml @@ -0,0 +1,632 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-02-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2019-02-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2019-02-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2019-02-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2019-02-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2019-02-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2019-02-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2019-02-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix. + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses. + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix. + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + description: Reference to a public IP address. + properties: + id: + description: The PublicIPAddress Reference. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-04-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-04-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..890f63de94de141bde8ca5260e0bd84afd9f91b9 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-04-01/swagger.yaml @@ -0,0 +1,632 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-04-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2019-04-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2019-04-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2019-04-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2019-04-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2019-04-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2019-04-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2019-04-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix. + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses. + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix. + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + description: Reference to a public IP address. + properties: + id: + description: The PublicIPAddress Reference. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..27ebc9fa131d53e00d68a029847e3fbd5775eb88 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-06-01/swagger.yaml @@ -0,0 +1,632 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2019-06-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2019-06-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2019-06-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2019-06-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2019-06-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2019-06-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2019-06-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix. + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'Gets or sets the ipTag type: Example FirstPartyUsage.' + type: string + tag: + description: 'Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: 'The provisioning state of the Public IP prefix resource. Possible values are: ''Updating'', ''Deleting'', and ''Failed''.' + type: string + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses. + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix. + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + description: Reference to a public IP address. + properties: + id: + description: The PublicIPAddress Reference. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-07-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-07-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..56108bcd509721b6b8acbf8fcacfc7f1b0e5fabc --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-07-01/swagger.yaml @@ -0,0 +1,641 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-07-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/publicIpPrefix.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2019-07-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2019-07-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2019-07-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2019-07-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2019-07-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2019-07-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2019-07-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix. + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses. + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix. + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + description: Reference to a public IP address. + properties: + id: + description: The PublicIPAddress Reference. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-08-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-08-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bb564d444650b1aa80723a7ca9d359c52557592c --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network-publicIpPrefix/2019-08-01/swagger.yaml @@ -0,0 +1,641 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2019-08-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/publicIpPrefix.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network-publicIpPrefix + x-tags: + - Azure + - Microsoft +consumes: + - application/json +produces: + - application/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow. + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all the public IP prefixes in a subscription. + operationId: PublicIPPrefixes_ListAll + parameters: + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List all public IP prefixes: + parameters: + api-version: '2019-08-01' + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 41.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01 + location: westus + name: ipprefix01 + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx + location: westus + name: pfx + properties: + ipPrefix: 25.101.84.16/30 + ipTags: [] + loadBalancerFrontendIpConfiguration: + id: /subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1 + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes': + get: + description: Gets all public IP prefixes in a resource group. + operationId: PublicIPPrefixes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Request successful. The operation returns a list of PublicIPPrefix resources. + schema: + $ref: '#/definitions/PublicIPPrefixListResult' + tags: + - PublicIPPrefixes + x-ms-examples: + List resource group public IP prefixes: + parameters: + api-version: '2019-08-01' + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + value: + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.2/30 + ipTags: + - ipTagType: FirstPartyUsage + tag: SQL + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + - etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03 + location: westus + name: ipprefix03 + properties: + ipPrefix: 40.85.153.2/31 + ipTags: [] + prefixLength: 31 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}': + delete: + description: Deletes the specified public IP prefix. + operationId: PublicIPPrefixes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the PublicIpPrefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Delete successful. + '202': + description: Accepted and the operation will complete asynchronously. + '204': + description: Request successful. Resource does not exist. + tags: + - PublicIPPrefixes + x-ms-examples: + Delete public IP prefix: + parameters: + api-version: '2019-08-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location + get: + description: Gets the specified public IP prefix in a specified resource group. + operationId: PublicIPPrefixes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + - description: Expands referenced resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: Request successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Get public IP prefix: + parameters: + api-version: '2019-08-01' + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + publicIPAddresses: + - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + patch: + description: Updates public IP prefix tags. + operationId: PublicIPPrefixes_UpdateTags + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to update public IP prefix tags. + in: body + name: parameters + required: true + schema: + description: Tags object for patch operations. + properties: + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Update public IP prefix tags: + parameters: + api-version: '2019-08-01' + parameters: + tags: + tag1: value1 + tag2: value2 + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 40.85.154.247/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + tags: + tag1: value1 + tag2: value2 + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + put: + description: Creates or updates a static or dynamic public IP prefix. + operationId: PublicIPPrefixes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the public IP prefix. + in: path + name: publicIpPrefixName + required: true + type: string + - description: Parameters supplied to the create or update public IP prefix operation. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPPrefix' + - description: Client API version. + in: query + name: api-version + required: true + type: string + - description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string + responses: + '200': + description: Update successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + '201': + description: Create successful. The operation returns the resulting PublicIPPrefix resource. + schema: + $ref: '#/definitions/PublicIPPrefix' + tags: + - PublicIPPrefixes + x-ms-examples: + Create public IP prefix allocation method: + parameters: + api-version: '2019-08-01' + parameters: + location: westus + properties: + prefixLength: 30 + publicIPAddressVersion: IPv4 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + zones: + - '1' + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + zones: + - '1' + Create public IP prefix defaults: + parameters: + api-version: '2019-08-01' + parameters: + location: westus + properties: + prefixLength: 30 + sku: + name: Standard + publicIpPrefixName: test-ipprefix + resourceGroupName: rg1 + subscriptionId: subid + responses: + '200': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + '201': + body: + etag: W/"00000000-0000-0000-0000-00000000" + id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix + location: westus + name: test-ipprefix + properties: + ipPrefix: 192.168.254.2/30 + ipTags: [] + prefixLength: 30 + provisioningState: Succeeded + publicIPAddressVersion: IPv4 + resourceGuid: 00000000-0000-0000-0000-00000000 + sku: + name: Standard + type: Microsoft.Network/publicIPPrefixes + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: location +definitions: + PublicIPPrefix: + allOf: + - description: Common resource representation. + properties: + id: + description: Resource ID. + type: string + location: + description: Resource location. + type: string + name: + description: Resource name. + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags. + type: object + type: + description: Resource type. + readOnly: true + type: string + x-ms-azure-resource: true + description: Public IP prefix resource. + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated. + type: string + properties: + $ref: '#/definitions/PublicIPPrefixPropertiesFormat' + description: Public IP prefix properties. + x-ms-client-flatten: true + sku: + $ref: '#/definitions/PublicIPPrefixSku' + description: The public IP prefix SKU. + zones: + description: A list of availability zones denoting the IP allocated for the resource needs to come from. + items: + type: string + type: array + PublicIPPrefixListResult: + description: Response for ListPublicIpPrefixes API service call. + properties: + nextLink: + description: The URL to get the next set of results. + type: string + value: + description: A list of public IP prefixes that exists in a resource group. + items: + $ref: '#/definitions/PublicIPPrefix' + type: array + PublicIPPrefixPropertiesFormat: + description: Public IP prefix properties. + properties: + ipPrefix: + description: The allocated Prefix. + type: string + ipTags: + description: The list of tags associated with the public IP prefix. + items: + description: Contains the IpTag associated with the object. + properties: + ipTagType: + description: 'The IP tag type. Example: FirstPartyUsage.' + type: string + tag: + description: 'The value of the IP tag associated with the public IP. Example: SQL.' + type: string + type: array + loadBalancerFrontendIpConfiguration: + description: Reference to another subresource. + properties: + id: + description: Resource ID. + type: string + x-ms-azure-resource: true + prefixLength: + description: The Length of the Public IP Prefix. + format: int32 + type: integer + provisioningState: + description: The current provisioning state. + enum: + - Succeeded + - Updating + - Deleting + - Failed + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ProvisioningState + publicIPAddressVersion: + description: IP address version. + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAddresses: + description: The list of all referenced PublicIPAddresses. + items: + $ref: '#/definitions/ReferencedPublicIpAddress' + type: array + resourceGuid: + description: The resource GUID property of the public IP prefix resource. + type: string + PublicIPPrefixSku: + description: SKU of a public IP prefix. + properties: + name: + description: Name of a public IP prefix SKU. + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: PublicIPPrefixSkuName + ReferencedPublicIpAddress: + description: Reference to a public IP address. + properties: + id: + description: The PublicIPAddress Reference. + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2015-05-01-preview/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2015-05-01-preview/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f003e16d0eca5e89a4d4a55bd77aef9469c40419 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2015-05-01-preview/swagger.yaml @@ -0,0 +1,4401 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Windows Azure Network management API provides a RESTful set of web services that interact with Windows Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Windows Azure Networks service. + title: NetworkResourceProviderClient + version: 2015-05-01-preview + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/preview/2015-05-01-preview/network.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways': + get: + description: The List application gateway operation retrieves all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: The List ExpressRouteServiceProvider operation retrieves all the available ExpressRouteServiceProviders. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages': + get: + description: Lists compute usages for a subscription. + operationId: Usages_List + parameters: + - description: The location upon which resource usage is queried. + in: path + name: location + pattern: '^[-\w\._]+$' + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/UsagesListResult' + tags: + - Usages + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a subscription + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a subscription. + operationId: PublicIpAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIpAddressListResult' + tags: + - PublicIpAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a subscription + operationId: RouteTables_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualnetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a subscription + operationId: VirtualNetworks_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways': + get: + description: The List ApplicationGateway operation retrieves all the application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}': + delete: + description: The delete application gateway operation deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: The Get application gateway operation retrieves information about the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + put: + description: The Put ApplicationGateway operation creates/updates a ApplicationGateway + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ApplicationGateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create/delete ApplicationGateway operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + '201': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start': + post: + description: The Start ApplicationGateway operation starts application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop': + post: + description: The STOP ApplicationGateway operation stops application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections': + get: + description: The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. + operationId: VirtualNetworkGatewayConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnectionListResult' + tags: + - VirtualNetworkGatewayConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}': + get: + description: The Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/': + delete: + description: The Delete VirtualNetworkGatewayConnection operation deletes the specified virtual network Gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey': + get: + description: The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. + operationId: VirtualNetworkGatewayConnections_GetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection shared key name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_SetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + '201': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset': + post: + description: The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_ResetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection reset shared key Name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + '202': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/': + delete: + description: The delete ExpressRouteCircuit operation deletes the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route Circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: The Get ExpressRouteCircuit operation retrieves information about the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: The Put ExpressRouteCircuit operation creates/updates a ExpressRouteCircuit + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create/delete ExpressRouteCircuit operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: The List authorization operation retrieves all the authorizations in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: The delete authorization operation deletes the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: The GET authorization operation retrieves the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: The Put Authorization operation creates/updates an authorization in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuitAuthorization operation + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: The List peering operation retrieves all the peerings in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: The delete peering operation deletes the specified peering from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: The GET peering operation retrieves the specified authorization from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: The Put Peering operation creates/updates an peering in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuit Peering operation + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}arpTable': + get: + description: The ListArpTable from ExpressRouteCircuit operation retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}routesTable': + get: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}stats': + get: + description: The ListStats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsStatsListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: The delete loadbalancer operation deletes the specified loadbalancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: The Get network interface operation retrieves information about the specified network interface. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: The Put LoadBalancer operation creates/updates a LoadBalancer + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create/delete LoadBalancer operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways': + get: + description: The List LocalNetworkGateways operation retrieves all the local network gateways stored. + operationId: LocalNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGatewayListResult' + tags: + - LocalNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}': + get: + description: The Get LocalNetworkGateway operation retrieves information about the specified local network gateway through Network resource provider. + operationId: LocalNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + put: + description: The Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider. + operationId: LocalNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LocalNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}/': + delete: + description: The Delete LocalNetworkGateway operation deletes the specified local network Gateway through Network resource provider. + operationId: LocalNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: The delete networkInterface operation deletes the specified networkInterface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: The Get network interface operation retrieves information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: The Put NetworkInterface operation creates/updates a networkInterface + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create/update NetworkInterface operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a resource group + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: The Delete NetworkSecurityGroup operation deletes the specified network security group + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityGroups operation retrieves information about the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: The Put NetworkSecurityGroup operation creates/updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create/update Network Security Group operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: The List network security rule operation retrieves all the security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: The delete network security rule operation deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityRule operation retrieves information about the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: The Put network security rule operation creates/updates a security rule in the specified network security group + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create/update network security rule operation + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a resource group. + operationId: PublicIpAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIpAddressListResult' + tags: + - PublicIpAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/': + delete: + description: The delete publicIpAddress operation deletes the specified publicIpAddress. + operationId: PublicIpAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - PublicIpAddresses + x-ms-long-running-operation: true + get: + description: The Get publicIpAddress operation retrieves information about the specified pubicIpAddress + operationId: PublicIpAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIpAddress' + tags: + - PublicIpAddresses + put: + description: The Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address + operationId: PublicIpAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the publicIpAddress. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create/update PublicIPAddress operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIpAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIpAddress' + '201': + description: '' + schema: + $ref: '#/definitions/PublicIpAddress' + tags: + - PublicIpAddresses + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a resource group + operationId: RouteTables_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}': + delete: + description: The Delete RouteTable operation deletes the specified Route Table + operationId: RouteTables_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - RouteTables + x-ms-long-running-operation: true + get: + description: The Get RouteTables operation retrieves information about the specified route table. + operationId: RouteTables_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + put: + description: The Put RouteTable operation creates/updates a route table in the specified resource group. + operationId: RouteTables_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: Parameters supplied to the create/update Route Table operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/RouteTable' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + '201': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes': + get: + description: The List network security rule operation retrieves all the routes in a route table. + operationId: Routes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteListResult' + tags: + - Routes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}': + delete: + description: The delete route operation deletes the specified route from a route table. + operationId: Routes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Routes + x-ms-long-running-operation: true + get: + description: The Get route operation retrieves information about the specified route from the route table. + operationId: Routes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + put: + description: The Put route operation creates/updates a route in the specified route table + operationId: Routes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - description: Parameters supplied to the create/update route operation + in: body + name: routeParameters + required: true + schema: + $ref: '#/definitions/Route' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + '201': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways': + get: + description: The List VirtualNetworkGateways operation retrieves all the virtual network gateways stored. + operationId: VirtualNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayListResult' + tags: + - VirtualNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/': + delete: + description: The Delete VirtualNetworkGateway operation deletes the specified virtual network Gateway through Network resource provider. + operationId: VirtualNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworkgateways/{virtualNetworkGatewayName}': + get: + description: The Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider. + operationId: VirtualNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + put: + description: The Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworkgateways/{virtualNetworkGatewayName}/reset': + post: + description: The Reset VirtualNetworkGateway operation resets the primary of the virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_Reset + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '202': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a resource group + operationId: VirtualNetworks_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}': + delete: + description: The Delete VirtualNetwork operation deletes the specified virtual network + operationId: VirtualNetworks_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + get: + description: The Get VirtualNetwork operation retrieves information about the specified virtual network. + operationId: VirtualNetworks_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + put: + description: The Put VirtualNetwork operation creates/updates a virtual network in the specified resource group. + operationId: VirtualNetworks_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: Parameters supplied to the create/update Virtual Network operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetwork' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets': + get: + description: The List subnets operation retrieves all the subnets in a virtual network. + operationId: Subnets_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SubnetListResult' + tags: + - Subnets + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets/{subnetName}': + delete: + description: The delete subnet operation deletes the specified subnet. + operationId: Subnets_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Subnets + x-ms-long-running-operation: true + get: + description: The Get subnet operation retrieves information about the specified subnet. + operationId: Subnets_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + put: + description: The Put Subnet operation creates/updates a subnet in the specified virtual network + operationId: Subnets_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - description: Parameters supplied to the create/update Subnet operation + in: body + name: subnetParameters + required: true + schema: + $ref: '#/definitions/Subnet' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + '201': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine from a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}': + get: + description: The Get network interface operation retrieves information about the specified network interface in a virtual machine scale set. + operationId: NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces +definitions: + AddressSpace: + description: AddressSpace contains an array of IP address ranges that can be used by subnets + properties: + addressPrefixes: + description: Gets or sets List of address blocks reserved for this virtual network in CIDR notation + items: + type: string + type: array + ApplicationGateway: + allOf: + - $ref: '#/definitions/Resource' + description: ApplicationGateways resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ApplicationGatewayPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendAddress: + description: Backend Address of application gateway + properties: + fqdn: + description: Gets or sets the dns name + type: string + ipAddress: + description: Gets or sets the ip address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend Address Pool of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of application gateway + properties: + backendAddresses: + description: Gets or sets the backend addresses + items: + $ref: '#/definitions/ApplicationGatewayBackendAddress' + type: array + backendIPConfigurations: + description: 'Gets or sets backendIPConfiguration of application gateway ' + items: + $ref: '#/definitions/SubResource' + type: array + provisioningState: + description: Gets or sets Provisioning state of the backend address pool resource Updating/Deleting/Failed + type: string + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend address pool settings of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of application gateway + properties: + cookieBasedAffinity: + description: Gets or sets the cookie affinity + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Gets or sets the port + format: int32 + type: integer + protocol: + description: Gets or sets the protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of application gateway + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the Network Interface IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IpAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + ApplicationGatewayFrontendPort: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend Port of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendPortPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend Port of application gateway + properties: + port: + description: Gets or sets the frontend port + format: int32 + type: integer + provisioningState: + description: Gets or sets Provisioning state of the frontend port resource Updating/Deleting/Failed + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: '#/definitions/SubResource' + description: Http listener of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayHttpListenerPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of Http listener of application gateway + properties: + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend IP configuration resource of application gateway ' + frontendPort: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend port resource of application gateway ' + protocol: + description: Gets or sets the protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the http listener resource Updating/Deleting/Failed + type: string + sslCertificate: + $ref: '#/definitions/SubResource' + description: 'Gets or sets ssl certificate resource of application gateway ' + ApplicationGatewayIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of application gateway + properties: + provisioningState: + description: Gets or sets Provisioning state of the application gateway subnet resource Updating/Deleting/Failed + type: string + subnet: + $ref: '#/definitions/SubResource' + description: 'Gets or sets the reference of the subnet resource.A subnet from where application gateway gets its private address ' + ApplicationGatewayListResult: + description: Response for ListLoadBalancers Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of ApplicationGateways in a resource group + items: + $ref: '#/definitions/ApplicationGateway' + type: array + ApplicationGatewayPropertiesFormat: + description: Properties of Application Gateway + properties: + backendAddressPools: + description: Gets or sets backend address pool of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendAddressPool' + type: array + backendHttpSettingsCollection: + description: Gets or sets backend http settings of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettings' + type: array + frontendIPConfigurations: + description: Gets or sets frontend IP addresses of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfiguration' + type: array + frontendPorts: + description: Gets or sets frontend ports of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendPort' + type: array + gatewayIPConfigurations: + description: Gets or sets subnets of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayIPConfiguration' + type: array + httpListeners: + description: Gets or sets HTTP listeners of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayHttpListener' + type: array + operationalState: + description: Gets operational state of application gateway resource + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + provisioningState: + description: Gets or sets Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed + type: string + requestRoutingRules: + description: Gets or sets request routing rules of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRule' + type: array + resourceGuid: + description: Gets or sets resource guid property of the ApplicationGateway resource + type: string + sku: + $ref: '#/definitions/ApplicationGatewaySku' + description: Gets or sets sku of application gateway resource + sslCertificates: + description: Gets or sets ssl certificates of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewaySslCertificate' + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Request routing rule of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of Request routing rule of application gateway + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Gets or sets backend address pool resource of application gateway ' + backendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend port resource of application gateway ' + httpListener: + $ref: '#/definitions/SubResource' + description: 'Gets or sets http listener resource of application gateway ' + provisioningState: + description: Gets or sets Provisioning state of the request routing rule resource Updating/Deleting/Failed + type: string + ruleType: + description: Gets or sets the rule type + enum: + - Basic + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + ApplicationGatewaySku: + description: SKU of application gateway + properties: + capacity: + description: Gets or sets capacity (instance count) of application gateway + format: int32 + type: integer + name: + description: Gets or sets name of application gateway SKU + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Gets or sets tier of application gateway + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: SSL certificates of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewaySslCertificatePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of application gateway + properties: + data: + description: 'Gets or sets the certificate data ' + type: string + password: + description: 'Gets or sets the certificate password ' + type: string + provisioningState: + description: Gets or sets Provisioning state of the ssl certificate resource Updating/Deleting/Failed + type: string + publicCertData: + description: 'Gets or sets the certificate public data ' + type: string + AuthorizationListResult: + description: Response for ListAuthorizations Api service callRetrieves all authorizations that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the authorizations in an ExpressRoute Circuit + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: Gets or sets the authorization key + type: string + authorizationUseStatus: + description: Gets or sets AuthorizationUseStatus + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + AzureAsyncOperationResult: + description: 'The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.' + properties: + error: + $ref: '#/definitions/Error' + status: + description: Status of the AzureAsyncOperation + enum: + - InProgress + - Succeeded + - Failed + type: string + x-ms-enum: + modelAsString: true + name: NetworkOperationStatus + BackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Pool of backend IP addresses + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of BackendAddressPool + properties: + backendIPConfigurations: + description: Gets collection of references to IPs defined in NICs + items: + $ref: '#/definitions/SubResource' + type: array + loadBalancingRules: + description: Gets Load Balancing rules that use this Backend Address Pool + items: + $ref: '#/definitions/SubResource' + type: array + outboundNatRule: + $ref: '#/definitions/SubResource' + description: Gets outbound rules that use this Backend Address Pool + provisioningState: + description: Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + ConnectionResetSharedKey: + properties: + keyLength: + description: The virtual network connection reset shared key length + format: int64 + type: integer + ConnectionSharedKey: + description: Response for GetConnectionSharedKey Api service call + properties: + value: + description: The virtual network connection shared key value + type: string + DhcpOptions: + description: DHCPOptions contains an array of DNS servers available to VMs deployed in the virtual networkStandard DHCP option for a subnet overrides VNET DHCP options. + properties: + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + DnsNameAvailabilityResult: + description: Response for CheckDnsNameAvailability Api service call + properties: + available: + description: Domain availability (True/False) + type: boolean + Error: + properties: + code: + type: string + details: + items: + $ref: '#/definitions/ErrorDetails' + type: array + innerError: + type: string + message: + type: string + target: + type: string + ErrorDetails: + properties: + code: + type: string + message: + type: string + target: + type: string + ExpressRouteCircuit: + allOf: + - $ref: '#/definitions/Resource' + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: Gets or sets sku + ExpressRouteCircuitArpTable: + description: The arp table associated with the ExpressRouteCircuit + properties: + ipAddress: + description: Gets ipAddress. + type: string + macAddress: + description: Gets macAddress. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - $ref: '#/definitions/SubResource' + description: Authorization in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of ExpressRouteCircuits in a resource group + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - $ref: '#/definitions/SubResource' + description: Peering in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering config + properties: + advertisedPublicPrefixes: + description: Gets or sets the reference of AdvertisedPublicPrefixes + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'Gets or sets AdvertisedPublicPrefixState of the Peering resource ' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: Gets or Sets CustomerAsn of the peering. + format: int32 + type: integer + routingRegistryName: + description: Gets or Sets RoutingRegistryName of the config. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering Api service callRetrieves all Peerings that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the peerings in an express route circuit + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: Gets or sets the azure ASN + format: int32 + type: integer + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: Gets or sets the Microsoft peering config + peerASN: + description: Gets or sets the peer ASN + format: int32 + type: integer + peeringType: + description: Gets or sets PeeringType + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: Gets or sets the primary port + type: string + primaryPeerAddressPrefix: + description: Gets or sets the primary address prefix + type: string + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + secondaryAzurePort: + description: Gets or sets the secondary port + type: string + secondaryPeerAddressPrefix: + description: Gets or sets the secondary address prefix + type: string + sharedKey: + description: Gets or sets the shared key + type: string + state: + description: Gets or sets state of Peering + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets or peering stats + vlanId: + description: Gets or sets the vlan id + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit + properties: + authorizations: + description: Gets or sets list of authorizations + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: 'Gets or sets CircuitProvisioningState state of the resource ' + type: string + peerings: + description: Gets or sets list of peerings + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + serviceKey: + description: Gets or sets ServiceKey + type: string + serviceProviderNotes: + description: Gets or sets ServiceProviderNotes + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: Gets or sets ServiceProviderProperties + serviceProviderProvisioningState: + description: 'Gets or sets ServiceProviderProvisioningState state of the resource ' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + addressPrefix: + description: Gets AddressPrefix. + type: string + asPath: + description: Gets AsPath. + type: string + nextHopIP: + description: Gets NextHopIP. + type: string + nextHopType: + description: Gets NextHopType. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + required: + - nextHopType + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit + properties: + bandwidthInMbps: + description: Gets or sets BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: Gets or sets peering location. + type: string + serviceProviderName: + description: Gets or sets serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains sku in an ExpressRouteCircuit + properties: + family: + description: Gets or sets family of the sku. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: Gets or sets name of the sku. + type: string + tier: + description: Gets or sets tier of the sku. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains Stats associated with the peering + properties: + bytesIn: + description: Gets BytesIn of the peering. + format: int32 + type: integer + bytesOut: + description: Gets BytesOut of the peering. + format: int32 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ArpTable + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RoutesTable + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsStatsListResult: + description: Response for ListStats from Express Route Circuits Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of Stats + items: + $ref: '#/definitions/ExpressRouteCircuitStats' + type: array + ExpressRouteServiceProvider: + description: ExpressRouteResourceProvider object + properties: + id: + description: Gets or sets the ID of the resource. + type: string + name: + description: Gets or sets the name of the resource. + type: string + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + type: + description: Gets or sets the type of the resource. + type: string + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains Bandwidths offered in ExpressRouteServiceProviders + properties: + offerName: + description: Gets the OfferName + type: string + valueInMbps: + description: Gets the ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for ListExpressRouteServiceProvider Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ExpressRouteResourceProvider + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider + properties: + bandwidthsOffered: + description: Gets or bandwidths offered + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Gets or list of peering locations + items: + type: string + type: array + provisioningState: + description: 'Gets or sets Provisioning state of the resource ' + type: string + FrontendIpConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP address of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/FrontendIpConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIpConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer + properties: + inboundNatPools: + description: Read only.Inbound pools URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + inboundNatRules: + description: Read only.Inbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + loadBalancingRules: + description: Gets Load Balancing rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + outboundNatRules: + description: Read only.Outbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + privateIPAddress: + description: Gets or sets the IP address of the Load Balancer.This is only specified if a specific private IP address shall be allocated from the subnet specified in subnetRef + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IpAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: 'Gets or sets the reference of the subnet resource.A subnet from where the load balancer gets its private frontend address ' + InboundNatPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT pool of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool + properties: + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPortRangeEnd: + description: 'Gets or sets the ending port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + frontendPortRangeStart: + description: 'Gets or sets the starting port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT rule of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of Inbound NAT rule + properties: + backendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a private ip address defined on a NetworkInterface of a VM. Traffic sent to frontendPort of each of the frontendIPConfigurations is forwarded to the backed IP + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPort + - enableFloatingIP + LoadBalancer: + allOf: + - $ref: '#/definitions/Resource' + description: LoadBalancer resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of LoadBalancers in a resource group + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of Load Balancer + properties: + backendAddressPools: + description: Gets or sets Pools of backend IP addresses + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Gets or sets frontend IP addresses of the load balancer + items: + $ref: '#/definitions/FrontendIpConfiguration' + type: array + inboundNatPools: + description: Gets or sets inbound NAT pools + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Gets or sets list of inbound rules + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Gets or sets load balancing rules + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: Gets or sets outbound NAT rules + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Gets or sets list of Load balancer probes + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the Load balancer resource + type: string + LoadBalancingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Rules of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + loadDistribution: + description: Gets or sets the load distribution policy for this rule + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the load balancer probe used by the Load Balancing rule. + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - backendAddressPool + - protocol + - frontendPort + - enableFloatingIP + LocalNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LocalNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + LocalNetworkGatewayListResult: + description: Response for ListLocalNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of LocalNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/LocalNetworkGateway' + type: array + LocalNetworkGatewayPropertiesFormat: + description: LocalNetworkGateway properties + properties: + gatewayIpAddress: + description: IP address of local network gateway. + type: string + localNetworkAddressSpace: + $ref: '#/definitions/AddressSpace' + description: Local network site Address space + provisioningState: + description: Gets or sets Provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the LocalNetworkGateway resource + type: string + NetworkInterface: + allOf: + - $ref: '#/definitions/Resource' + description: A NetworkInterface in a resource group + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: Dns Settings of a network interface + properties: + appliedDnsServers: + description: Gets or sets list of Applied DNS servers IP addresses + items: + type: string + type: array + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + internalDnsNameLabel: + description: Gets or sets the Internal DNS name + type: string + internalFqdn: + description: 'Gets or sets full IDNS name in the form, DnsName.VnetId.ZoneId.TopLevelSuffix. This is set when the NIC is associated to a VM' + type: string + NetworkInterfaceIpConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IPConfiguration in a NetworkInterface + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIpConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIpConfigurationPropertiesFormat: + description: Properties of IPConfiguration + properties: + loadBalancerBackendAddressPools: + description: Gets or sets the reference of LoadBalancerBackendAddressPool resource + items: + $ref: '#/definitions/SubResource' + type: array + loadBalancerInboundNatRules: + description: Gets or sets list of references of LoadBalancerInboundNatRules + items: + $ref: '#/definitions/SubResource' + type: array + privateIPAddress: + description: Gets or sets the privateIPAddress of the Network Interface IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IpAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + NetworkInterfaceListResult: + description: Response for ListNetworkInterface Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets or sets list of NetworkInterfaces in a resource group + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + $ref: '#/definitions/NetworkInterfaceDnsSettings' + description: Gets or sets DNS Settings in NetworkInterface + enableIPForwarding: + description: Gets or sets whether IPForwarding is enabled on the NIC + type: boolean + ipConfigurations: + description: Gets or sets list of IPConfigurations of the NetworkInterface + items: + $ref: '#/definitions/NetworkInterfaceIpConfiguration' + type: array + macAddress: + description: Gets the MAC Address of the network interface + type: string + networkSecurityGroup: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the NetworkSecurityGroup resource + primary: + description: Gets whether this is a primary NIC on a virtual machine + type: boolean + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the network interface resource + type: string + virtualMachine: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of a VirtualMachine + NetworkSecurityGroup: + allOf: + - $ref: '#/definitions/Resource' + description: NetworkSecurityGroup resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of NetworkSecurityGroups in a resource group + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource + properties: + defaultSecurityRules: + description: Gets or sets Default security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + networkInterfaces: + description: Gets collection of references to Network Interfaces + items: + $ref: '#/definitions/SubResource' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the network security group resource + type: string + securityRules: + description: Gets or sets Security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/SubResource' + type: array + OutboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Outbound NAT pool of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the loadbalancer + properties: + allocatedOutboundPorts: + description: Gets or sets the number of outbound ports to be used for SNAT + format: int32 + type: integer + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs + frontendIPConfigurations: + description: Gets or sets Frontend IP addresses of the load balancer + items: + $ref: '#/definitions/SubResource' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - allocatedOutboundPorts + - backendAddressPool + Probe: + allOf: + - $ref: '#/definitions/SubResource' + description: Load balancer Probe + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'Gets or sets the interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5' + format: int32 + type: integer + loadBalancingRules: + description: Gets Load balancer rules that use this probe + items: + $ref: '#/definitions/SubResource' + type: array + numberOfProbes: + description: 'Gets or sets the number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. ' + format: int32 + type: integer + port: + description: 'Gets or sets Port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'Gets or sets the protocol of the end point. Possible values are http pr Tcp. If Tcp is specified, a received ACK is required for the probe to be successful. If http is specified,a 200 OK response from the specifies URI is required for the probe to be successful' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + requestPath: + description: 'Gets or sets the URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value' + type: string + required: + - protocol + - port + PublicIpAddress: + allOf: + - $ref: '#/definitions/Resource' + description: PublicIPAddress resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/PublicIpAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIpAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIpAddressListResult: + description: Response for ListPublicIpAddresses Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of publicIP addresses that exists in a resource group + items: + $ref: '#/definitions/PublicIpAddress' + type: array + PublicIpAddressPropertiesFormat: + description: PublicIpAddress properties + properties: + dnsSettings: + $ref: '#/definitions/PublicIpAddressDnsSettings' + description: Gets or sets FQDN of the DNS record associated with the public IP address + idleTimeoutInMinutes: + description: Gets or sets the idle timeout of the public IP address + format: int32 + type: integer + ipAddress: + description: Gets the assigned public IP address + type: string + ipConfiguration: + $ref: '#/definitions/SubResource' + description: Gets a reference to the network interface IP configurations using this public IP address + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAllocationMethod: + description: Gets or sets PublicIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IpAllocationMethod + resourceGuid: + description: Gets or sets resource guid property of the PublicIP resource + type: string + required: + - publicIPAllocationMethod + Resource: + properties: + id: + description: Resource Id + readOnly: true + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: Resource type + readOnly: true + type: string + required: + - location + x-ms-azure-resource: true + Route: + allOf: + - $ref: '#/definitions/SubResource' + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/RoutePropertiesFormat' + x-ms-client-flatten: true + RouteListResult: + description: Response for ListRoute Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of Routes in a resource group + items: + $ref: '#/definitions/Route' + type: array + RoutePropertiesFormat: + description: Route resource + properties: + addressPrefix: + description: Gets or sets the destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + type: string + nextHopType: + description: Gets or sets the type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed + type: string + required: + - nextHopType + RouteTable: + allOf: + - $ref: '#/definitions/Resource' + description: RouteTable resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/RouteTablePropertiesFormat' + x-ms-client-flatten: true + RouteTableListResult: + description: Response for ListRouteTable Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RouteTables in a resource group + items: + $ref: '#/definitions/RouteTable' + type: array + RouteTablePropertiesFormat: + description: Route Table resource + properties: + provisioningState: + description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed + type: string + routes: + description: Gets or sets Routes in a Route Table + items: + $ref: '#/definitions/Route' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/SubResource' + type: array + SecurityRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Network security rule + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SecurityRulePropertiesFormat' + x-ms-client-flatten: true + SecurityRuleListResult: + description: Response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets security rules in a network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: Gets or sets network traffic is allowed or denied. Possible values are 'Allow' and 'Deny' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: Gets or sets a description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'Gets or sets destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. ' + type: string + destinationPortRange: + description: Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'Gets or sets the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + sourceAddressPrefix: + description: 'Gets or sets source address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SubResource: + properties: + id: + description: Resource Id + type: string + x-ms-azure-resource: true + Subnet: + allOf: + - $ref: '#/definitions/SubResource' + description: Subnet in a VirtualNetwork resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + SubnetListResult: + description: Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the subnets in a virtual network + items: + $ref: '#/definitions/Subnet' + type: array + SubnetPropertiesFormat: + properties: + addressPrefix: + description: Gets or sets Address prefix for the subnet. + type: string + ipConfigurations: + description: Gets array of references to the network interface IP configurations using subnet + items: + $ref: '#/definitions/SubResource' + type: array + networkSecurityGroup: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the NetworkSecurityGroup resource + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + routeTable: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the RouteTable resource + required: + - addressPrefix + Usage: + description: Describes Network Resource Usage. + properties: + currentValue: + description: Gets or sets the current value of the usage. + format: int32 + type: integer + limit: + description: Gets or sets the limit of usage. + format: int64 + type: integer + name: + $ref: '#/definitions/UsageName' + description: Gets or sets the name of the type of usage. + unit: + description: Gets or sets an enum describing the unit of measurement. + enum: + - Count + type: string + x-ms-enum: + modelAsString: true + name: UsageUnit + required: + - unit + - currentValue + - limit + - name + UsageName: + description: The Usage Names. + properties: + localizedValue: + description: Gets or sets a localized string describing the resource name. + type: string + value: + description: Gets or sets a string describing the resource name. + type: string + UsagesListResult: + description: The List Usages operation response. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: Gets or sets the list Network Resource Usages. + items: + $ref: '#/definitions/Usage' + type: array + VirtualNetwork: + allOf: + - $ref: '#/definitions/Resource' + description: Virtual Network resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnection: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnectionListResult: + description: Response for ListVirtualNetworkGatewayConnections Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGatewayConnections that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + type: array + VirtualNetworkGatewayConnectionPropertiesFormat: + description: VirtualNetworkGatewayConnection properties + properties: + connectionStatus: + description: Virtual network Gateway connection status + enum: + - Unknown + - Connecting + - Connected + - NotConnected + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionStatus + connectionType: + description: Gateway connection type IPsec/Dedicated/VpnClient/Vnet2Vnet + enum: + - IPsec + - Vnet2Vnet + - ExpressRoute + - VPNClient + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionType + egressBytesTransferred: + description: The Egress Bytes Transferred in this connection + format: int64 + type: integer + ingressBytesTransferred: + description: The Ingress Bytes Transferred in this connection + format: int64 + type: integer + localNetworkGateway2: + $ref: '#/definitions/LocalNetworkGateway' + peer: + $ref: '#/definitions/SubResource' + description: The reference to peerings resource. + provisioningState: + description: Gets or sets Provisioning state of the VirtualNetworkGatewayConnection resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetworkGatewayConnection resource + type: string + routingWeight: + description: The Routing weight. + format: int32 + type: integer + sharedKey: + description: The IPsec share key. + type: string + virtualNetworkGateway1: + $ref: '#/definitions/VirtualNetworkGateway' + virtualNetworkGateway2: + $ref: '#/definitions/VirtualNetworkGateway' + VirtualNetworkGatewayIpConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IpConfiguration for Virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayIpConfigurationPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayIpConfigurationPropertiesFormat: + description: Properties of VirtualNetworkGatewayIPConfiguration + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the Network Interface IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IpAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + VirtualNetworkGatewayListResult: + description: Response for ListVirtualNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGateway' + type: array + VirtualNetworkGatewayPropertiesFormat: + description: VirtualNetworkGateway properties + properties: + enableBgp: + description: EnableBgp Flag + type: boolean + gatewayDefaultSite: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the LocalNetworkGateway resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting. + gatewayType: + description: The type of this virtual network gateway. + enum: + - Vpn + - ExpressRoute + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayType + ipConfigurations: + description: IpConfigurations for Virtual network gateway. + items: + $ref: '#/definitions/VirtualNetworkGatewayIpConfiguration' + type: array + provisioningState: + description: Gets or sets Provisioning state of the VirtualNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetworkGateway resource + type: string + vpnType: + description: The type of this virtual network gateway. + enum: + - PolicyBased + - RouteBased + type: string + x-ms-enum: + modelAsString: true + name: VpnType + VirtualNetworkListResult: + description: Response for ListVirtualNetworks Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets list of VirtualNetworks in a resource group + items: + $ref: '#/definitions/VirtualNetwork' + type: array + VirtualNetworkPropertiesFormat: + properties: + addressSpace: + $ref: '#/definitions/AddressSpace' + description: Gets or sets AddressSpace that contains an array of IP address ranges that can be used by subnets + dhcpOptions: + $ref: '#/definitions/DhcpOptions' + description: Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetwork resource + type: string + subnets: + description: Gets or sets List of subnets in a VirtualNetwork + items: + $ref: '#/definitions/Subnet' + type: array diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-03-30/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-03-30/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5a1ffada6ffd46f9a915f34db02bd2ec0c621415 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-03-30/swagger.yaml @@ -0,0 +1,4899 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-03-30' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-03-30/network.json' + version: '2.0' + x-preferred: false + x-providerName: azure.com + x-serviceName: network + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways': + get: + description: The List application gateway operation retrieves all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: The List ExpressRouteServiceProvider operation retrieves all the available ExpressRouteServiceProviders. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages': + get: + description: Lists compute usages for a subscription. + operationId: Usages_List + parameters: + - description: The location upon which resource usage is queried. + in: path + name: location + pattern: '^[-\w\._]+$' + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/UsagesListResult' + tags: + - Usages + x-ms-pageable: + nextLinkName: null + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a subscription + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a subscription + operationId: RouteTables_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a subscription + operationId: VirtualNetworks_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways': + get: + description: The List ApplicationGateway operation retrieves all the application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}': + delete: + description: The delete application gateway operation deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: The Get application gateway operation retrieves information about the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + put: + description: The Put ApplicationGateway operation creates/updates a ApplicationGateway + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ApplicationGateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create/delete ApplicationGateway operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + '201': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start': + post: + description: The Start ApplicationGateway operation starts application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop': + post: + description: The STOP ApplicationGateway operation stops application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections': + get: + description: The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. + operationId: VirtualNetworkGatewayConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnectionListResult' + tags: + - VirtualNetworkGatewayConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}': + delete: + description: The Delete VirtualNetworkGatewayConnection operation deletes the specified virtual network Gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + get: + description: The Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey': + get: + description: The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. + operationId: VirtualNetworkGatewayConnections_GetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection shared key name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKeyResult' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_SetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + '201': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset': + post: + description: The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_ResetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection reset shared key Name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + '202': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: The delete ExpressRouteCircuit operation deletes the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route Circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: The Get ExpressRouteCircuit operation retrieves information about the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: The Put ExpressRouteCircuit operation creates/updates a ExpressRouteCircuit + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create/delete ExpressRouteCircuit operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: The List authorization operation retrieves all the authorizations in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: The delete authorization operation deletes the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: The GET authorization operation retrieves the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: The Put Authorization operation creates/updates an authorization in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuitAuthorization operation + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: The List peering operation retrieves all the peerings in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: The delete peering operation deletes the specified peering from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: The GET peering operation retrieves the specified authorization from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: The Put Peering operation creates/updates an peering in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuit Peering operation + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: The ListArpTable from ExpressRouteCircuit operation retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: The GetPeeringStats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: The GetStats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: The delete loadbalancer operation deletes the specified loadbalancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: The Get network interface operation retrieves information about the specified network interface. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: The Put LoadBalancer operation creates/updates a LoadBalancer + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create/delete LoadBalancer operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways': + get: + description: The List LocalNetworkGateways operation retrieves all the local network gateways stored. + operationId: LocalNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGatewayListResult' + tags: + - LocalNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}': + delete: + description: The Delete LocalNetworkGateway operation deletes the specified local network Gateway through Network resource provider. + operationId: LocalNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + get: + description: The Get LocalNetworkGateway operation retrieves information about the specified local network gateway through Network resource provider. + operationId: LocalNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + put: + description: The Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider. + operationId: LocalNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LocalNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: The delete networkInterface operation deletes the specified networkInterface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: The Get network interface operation retrieves information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: The Put NetworkInterface operation creates/updates a networkInterface + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create/update NetworkInterface operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a resource group + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: The Delete NetworkSecurityGroup operation deletes the specified network security group + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityGroups operation retrieves information about the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: The Put NetworkSecurityGroup operation creates/updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create/update Network Security Group operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: The List network security rule operation retrieves all the security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: The delete network security rule operation deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityRule operation retrieves information about the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: The Put network security rule operation creates/updates a security rule in the specified network security group + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create/update network security rule operation + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: The delete publicIpAddress operation deletes the specified publicIpAddress. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: The Get publicIpAddress operation retrieves information about the specified pubicIpAddress + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: The Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the publicIpAddress. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create/update PublicIPAddress operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a resource group + operationId: RouteTables_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}': + delete: + description: The Delete RouteTable operation deletes the specified Route Table + operationId: RouteTables_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - RouteTables + x-ms-long-running-operation: true + get: + description: The Get RouteTables operation retrieves information about the specified route table. + operationId: RouteTables_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + put: + description: The Put RouteTable operation creates/updates a route table in the specified resource group. + operationId: RouteTables_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: Parameters supplied to the create/update Route Table operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/RouteTable' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + '201': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes': + get: + description: The List network security rule operation retrieves all the routes in a route table. + operationId: Routes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteListResult' + tags: + - Routes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}': + delete: + description: The delete route operation deletes the specified route from a route table. + operationId: Routes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Routes + x-ms-long-running-operation: true + get: + description: The Get route operation retrieves information about the specified route from the route table. + operationId: Routes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + put: + description: The Put route operation creates/updates a route in the specified route table + operationId: Routes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - description: Parameters supplied to the create/update route operation + in: body + name: routeParameters + required: true + schema: + $ref: '#/definitions/Route' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + '201': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways': + get: + description: The List VirtualNetworkGateways operation retrieves all the virtual network gateways stored. + operationId: VirtualNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayListResult' + tags: + - VirtualNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}': + delete: + description: The Delete VirtualNetworkGateway operation deletes the specified virtual network Gateway through Network resource provider. + operationId: VirtualNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + get: + description: The Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider. + operationId: VirtualNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + put: + description: The Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage': + post: + description: The Generatevpnclientpackage operation generates Vpn client package for P2S client of the virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_Generatevpnclientpackage + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Generating Virtual Network Gateway Vpn client package operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VpnClientParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Vpn client package url + schema: + type: string + tags: + - VirtualNetworkGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset': + post: + description: The Reset VirtualNetworkGateway operation resets the primary of the virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_Reset + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '202': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a resource group + operationId: VirtualNetworks_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}': + delete: + description: The Delete VirtualNetwork operation deletes the specified virtual network + operationId: VirtualNetworks_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + get: + description: The Get VirtualNetwork operation retrieves information about the specified virtual network. + operationId: VirtualNetworks_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + put: + description: The Put VirtualNetwork operation creates/updates a virtual network in the specified resource group. + operationId: VirtualNetworks_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: Parameters supplied to the create/update Virtual Network operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetwork' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets': + get: + description: The List subnets operation retrieves all the subnets in a virtual network. + operationId: Subnets_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SubnetListResult' + tags: + - Subnets + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}': + delete: + description: The delete subnet operation deletes the specified subnet. + operationId: Subnets_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Subnets + x-ms-long-running-operation: true + get: + description: The Get subnet operation retrieves information about the specified subnet. + operationId: Subnets_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + put: + description: The Put Subnet operation creates/updates a subnet in the specified virtual network + operationId: Subnets_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - description: Parameters supplied to the create/update Subnet operation + in: body + name: subnetParameters + required: true + schema: + $ref: '#/definitions/Subnet' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + '201': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine from a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}': + get: + description: The Get network interface operation retrieves information about the specified network interface in a virtual machine scale set. + operationId: NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces +definitions: + AddressSpace: + description: AddressSpace contains an array of IP address ranges that can be used by subnets + properties: + addressPrefixes: + description: Gets or sets List of address blocks reserved for this virtual network in CIDR notation + items: + type: string + type: array + ApplicationGateway: + allOf: + - $ref: '#/definitions/Resource' + description: ApplicationGateways resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ApplicationGatewayPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendAddress: + description: Backend Address of application gateway + properties: + fqdn: + description: Gets or sets the dns name + type: string + ipAddress: + description: Gets or sets the ip address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend Address Pool of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of application gateway + properties: + backendAddresses: + description: Gets or sets the backend addresses + items: + $ref: '#/definitions/ApplicationGatewayBackendAddress' + type: array + backendIPConfigurations: + description: Gets collection of references to IPs defined in NICs + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + provisioningState: + description: Gets or sets Provisioning state of the backend address pool resource Updating/Deleting/Failed + type: string + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend address pool settings of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of application gateway + properties: + cookieBasedAffinity: + description: Gets or sets the cookie affinity + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Gets or sets the port + format: int32 + type: integer + probe: + $ref: '#/definitions/SubResource' + description: 'Gets or sets probe resource of application gateway ' + protocol: + description: Gets or sets the protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + requestTimeout: + description: Gets or sets request timeout + format: int32 + type: integer + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of application gateway + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the Network Interface IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + ApplicationGatewayFrontendPort: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend Port of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendPortPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend Port of application gateway + properties: + port: + description: Gets or sets the frontend port + format: int32 + type: integer + provisioningState: + description: Gets or sets Provisioning state of the frontend port resource Updating/Deleting/Failed + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: '#/definitions/SubResource' + description: Http listener of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayHttpListenerPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of Http listener of application gateway + properties: + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend IP configuration resource of application gateway ' + frontendPort: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend port resource of application gateway ' + hostName: + description: 'Gets or sets the host name of http listener ' + type: string + protocol: + description: Gets or sets the protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the http listener resource Updating/Deleting/Failed + type: string + requireServerNameIndication: + description: 'Gets or sets the requireServerNameIndication of http listener ' + type: boolean + sslCertificate: + $ref: '#/definitions/SubResource' + description: 'Gets or sets ssl certificate resource of application gateway ' + ApplicationGatewayIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of application gateway + properties: + provisioningState: + description: Gets or sets Provisioning state of the application gateway subnet resource Updating/Deleting/Failed + type: string + subnet: + $ref: '#/definitions/SubResource' + description: 'Gets or sets the reference of the subnet resource.A subnet from where application gateway gets its private address ' + ApplicationGatewayListResult: + description: Response for ListLoadBalancers Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of ApplicationGateways in a resource group + items: + $ref: '#/definitions/ApplicationGateway' + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Path rule of URL path map of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayPathRulePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of application gateway + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Gets or sets backend address pool resource of URL path map ' + backendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Gets or sets backend http settings resource of URL path map ' + paths: + description: Gets or sets the path rules of URL path map + items: + type: string + type: array + provisioningState: + description: Gets or sets path rule of URL path map resource Updating/Deleting/Failed + type: string + ApplicationGatewayProbe: + allOf: + - $ref: '#/definitions/SubResource' + description: Probe of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayProbePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of application gateway + properties: + host: + description: 'Gets or sets the host to send probe to ' + type: string + interval: + description: 'Gets or sets probing interval in seconds ' + format: int32 + type: integer + path: + description: 'Gets or sets the relative path of probe ' + type: string + protocol: + description: Gets or sets the protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + timeout: + description: 'Gets or sets probing timeout in seconds ' + format: int32 + type: integer + unhealthyThreshold: + description: 'Gets or sets probing unhealthy threshold ' + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of Application Gateway + properties: + backendAddressPools: + description: Gets or sets backend address pool of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendAddressPool' + type: array + backendHttpSettingsCollection: + description: Gets or sets backend http settings of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettings' + type: array + frontendIPConfigurations: + description: Gets or sets frontend IP addresses of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfiguration' + type: array + frontendPorts: + description: Gets or sets frontend ports of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendPort' + type: array + gatewayIPConfigurations: + description: Gets or sets subnets of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayIPConfiguration' + type: array + httpListeners: + description: Gets or sets HTTP listeners of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayHttpListener' + type: array + operationalState: + description: Gets operational state of application gateway resource + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Gets or sets probes of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayProbe' + type: array + provisioningState: + description: Gets or sets Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed + type: string + requestRoutingRules: + description: Gets or sets request routing rules of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRule' + type: array + resourceGuid: + description: Gets or sets resource GUID property of the ApplicationGateway resource + type: string + sku: + $ref: '#/definitions/ApplicationGatewaySku' + description: Gets or sets sku of application gateway resource + sslCertificates: + description: Gets or sets ssl certificates of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewaySslCertificate' + type: array + urlPathMaps: + description: Gets or sets URL path map of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayUrlPathMap' + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Request routing rule of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of Request routing rule of application gateway + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Gets or sets backend address pool resource of application gateway ' + backendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Gets or sets frontend port resource of application gateway ' + httpListener: + $ref: '#/definitions/SubResource' + description: 'Gets or sets http listener resource of application gateway ' + provisioningState: + description: Gets or sets Provisioning state of the request routing rule resource Updating/Deleting/Failed + type: string + ruleType: + description: Gets or sets the rule type + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: '#/definitions/SubResource' + description: 'Gets or sets url path map resource of application gateway ' + ApplicationGatewaySku: + description: SKU of application gateway + properties: + capacity: + description: Gets or sets capacity (instance count) of application gateway + format: int32 + type: integer + name: + description: Gets or sets name of application gateway SKU + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Gets or sets tier of application gateway + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: SSL certificates of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewaySslCertificatePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of application gateway + properties: + data: + description: 'Gets or sets the certificate data ' + type: string + password: + description: 'Gets or sets the certificate password ' + type: string + provisioningState: + description: Gets or sets Provisioning state of the ssl certificate resource Updating/Deleting/Failed + type: string + publicCertData: + description: 'Gets or sets the certificate public data ' + type: string + ApplicationGatewayUrlPathMap: + allOf: + - $ref: '#/definitions/SubResource' + description: UrlPathMap of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of probe of application gateway + properties: + defaultBackendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Gets or sets default backend address pool resource of URL path map ' + defaultBackendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Gets or sets default backend http settings resource of URL path map ' + pathRules: + description: Gets or sets path rule of URL path map resource + items: + $ref: '#/definitions/ApplicationGatewayPathRule' + type: array + provisioningState: + description: Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + AuthorizationListResult: + description: Response for ListAuthorizations Api service callRetrieves all authorizations that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the authorizations in an ExpressRoute Circuit + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: Gets or sets the authorization key + type: string + authorizationUseStatus: + description: Gets or sets AuthorizationUseStatus + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + AzureAsyncOperationResult: + description: 'The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.' + properties: + error: + $ref: '#/definitions/Error' + status: + description: Status of the AzureAsyncOperation + enum: + - InProgress + - Succeeded + - Failed + type: string + x-ms-enum: + modelAsString: true + name: NetworkOperationStatus + BackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Pool of backend IP addresses + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of BackendAddressPool + properties: + backendIPConfigurations: + description: Gets collection of references to IPs defined in NICs + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + loadBalancingRules: + description: Gets Load Balancing rules that use this Backend Address Pool + items: + $ref: '#/definitions/SubResource' + type: array + outboundNatRule: + $ref: '#/definitions/SubResource' + description: Gets outbound rules that use this Backend Address Pool + provisioningState: + description: Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + BgpSettings: + properties: + asn: + description: Gets or sets this BGP speaker's ASN + format: int64 + type: integer + bgpPeeringAddress: + description: Gets or sets the BGP peering address and BGP identifier of this BGP speaker + type: string + peerWeight: + description: Gets or sets the weight added to routes learned from this BGP speaker + format: int32 + type: integer + ConnectionResetSharedKey: + properties: + keyLength: + description: The virtual network connection reset shared key length + format: int64 + type: integer + ConnectionSharedKey: + description: Response for GetConnectionSharedKey Api service call + properties: + value: + description: The virtual network connection shared key value + type: string + ConnectionSharedKeyResult: + description: Response for CheckConnectionSharedKey Api service call + properties: + value: + description: The virtual network connection shared key value + type: string + DhcpOptions: + description: DHCPOptions contains an array of DNS servers available to VMs deployed in the virtual networkStandard DHCP option for a subnet overrides VNET DHCP options. + properties: + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + DnsNameAvailabilityResult: + description: Response for CheckDnsNameAvailability Api service call + properties: + available: + description: Domain availability (True/False) + type: boolean + Error: + properties: + code: + type: string + details: + items: + $ref: '#/definitions/ErrorDetails' + type: array + innerError: + type: string + message: + type: string + target: + type: string + ErrorDetails: + properties: + code: + type: string + message: + type: string + target: + type: string + ExpressRouteCircuit: + allOf: + - $ref: '#/definitions/Resource' + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: Gets or sets sku + ExpressRouteCircuitArpTable: + description: The arp table associated with the ExpressRouteCircuit + properties: + age: + description: Age. + format: int32 + type: integer + interface: + description: Interface. + type: string + ipAddress: + description: Gets ipAddress. + type: string + macAddress: + description: Gets macAddress. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - $ref: '#/definitions/SubResource' + description: Authorization in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of ExpressRouteCircuits in a resource group + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - $ref: '#/definitions/SubResource' + description: Peering in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering config + properties: + advertisedPublicPrefixes: + description: Gets or sets the reference of AdvertisedPublicPrefixes + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'Gets or sets AdvertisedPublicPrefixState of the Peering resource ' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: Gets or Sets CustomerAsn of the peering. + format: int32 + type: integer + routingRegistryName: + description: Gets or Sets RoutingRegistryName of the config. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering Api service callRetrieves all Peerings that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the peerings in an express route circuit + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: Gets or sets the azure ASN + format: int32 + type: integer + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: Gets or sets the Microsoft peering config + peerASN: + description: Gets or sets the peer ASN + format: int32 + type: integer + peeringType: + description: Gets or sets PeeringType + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: Gets or sets the primary port + type: string + primaryPeerAddressPrefix: + description: Gets or sets the primary address prefix + type: string + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + secondaryAzurePort: + description: Gets or sets the secondary port + type: string + secondaryPeerAddressPrefix: + description: Gets or sets the secondary address prefix + type: string + sharedKey: + description: Gets or sets the shared key + type: string + state: + description: Gets or sets state of Peering + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets or peering stats + vlanId: + description: Gets or sets the vlan id + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit + properties: + allowClassicOperations: + description: allow classic operations + type: boolean + authorizations: + description: Gets or sets list of authorizations + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: 'Gets or sets CircuitProvisioningState state of the resource ' + type: string + peerings: + description: Gets or sets list of peerings + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + serviceKey: + description: Gets or sets ServiceKey + type: string + serviceProviderNotes: + description: Gets or sets ServiceProviderNotes + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: Gets or sets ServiceProviderProperties + serviceProviderProvisioningState: + description: 'Gets or sets ServiceProviderProvisioningState state of the resource ' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf. + type: string + network: + description: network. + type: string + nextHop: + description: nextHop + type: string + path: + description: path . + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit + properties: + bandwidthInMbps: + description: Gets or sets BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: Gets or sets peering location. + type: string + serviceProviderName: + description: Gets or sets serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains sku in an ExpressRouteCircuit + properties: + family: + description: Gets or sets family of the sku. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: Gets or sets name of the sku. + type: string + tier: + description: Gets or sets tier of the sku. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains Stats associated with the peering + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ArpTable + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RoutesTable + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RoutesTable + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - $ref: '#/definitions/Resource' + description: ExpressRouteResourceProvider object + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains Bandwidths offered in ExpressRouteServiceProviders + properties: + offerName: + description: Gets the OfferName + type: string + valueInMbps: + description: Gets the ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for ListExpressRouteServiceProvider Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ExpressRouteResourceProvider + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider + properties: + bandwidthsOffered: + description: Gets or bandwidths offered + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Gets or list of peering locations + items: + type: string + type: array + provisioningState: + description: 'Gets or sets Provisioning state of the resource ' + type: string + FrontendIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP address of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer + properties: + inboundNatPools: + description: Read only.Inbound pools URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + inboundNatRules: + description: Read only.Inbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + loadBalancingRules: + description: Gets Load Balancing rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + outboundNatRules: + description: Read only.Outbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + type: array + privateIPAddress: + description: Gets or sets the privateIPAddress of the IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/Subnet' + description: Gets or sets the reference of the subnet resource + IPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IPConfiguration + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/Subnet' + description: Gets or sets the reference of the subnet resource + InboundNatPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT pool of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool + properties: + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPortRangeEnd: + description: 'Gets or sets the ending port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + frontendPortRangeStart: + description: 'Gets or sets the starting port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT rule of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of Inbound NAT rule + properties: + backendIPConfiguration: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + description: Gets or sets a reference to a private ip address defined on a NetworkInterface of a VM. Traffic sent to frontendPort of each of the frontendIPConfigurations is forwarded to the backed IP + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + LoadBalancer: + allOf: + - $ref: '#/definitions/Resource' + description: LoadBalancer resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of LoadBalancers in a resource group + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of Load Balancer + properties: + backendAddressPools: + description: Gets or sets Pools of backend IP addresses + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Gets or sets frontend IP addresses of the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Gets or sets inbound NAT pools + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Gets or sets list of inbound rules + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Gets or sets load balancing rules + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: Gets or sets outbound NAT rules + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Gets or sets list of Load balancer probes + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the Load balancer resource + type: string + LoadBalancingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Rules of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + loadDistribution: + description: Gets or sets the load distribution policy for this rule + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the load balancer probe used by the Load Balancing rule. + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPort + LocalNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LocalNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + LocalNetworkGatewayListResult: + description: Response for ListLocalNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of LocalNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/LocalNetworkGateway' + type: array + LocalNetworkGatewayPropertiesFormat: + description: LocalNetworkGateway properties + properties: + bgpSettings: + $ref: '#/definitions/BgpSettings' + description: Local network gateway's BGP speaker settings + gatewayIpAddress: + description: IP address of local network gateway. + type: string + localNetworkAddressSpace: + $ref: '#/definitions/AddressSpace' + description: Local network site Address space + provisioningState: + description: Gets or sets Provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the LocalNetworkGateway resource + type: string + NetworkInterface: + allOf: + - $ref: '#/definitions/Resource' + description: A NetworkInterface in a resource group + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: Dns Settings of a network interface + properties: + appliedDnsServers: + description: Gets or sets list of Applied DNS servers IP addresses + items: + type: string + type: array + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + internalDnsNameLabel: + description: Gets or sets the Internal DNS name + type: string + internalDomainNameSuffix: + description: Gets or sets internal domain name suffix of the NIC. + type: string + internalFqdn: + description: Gets or sets the internal FQDN. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IPConfiguration in a NetworkInterface + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IPConfiguration + properties: + applicationGatewayBackendAddressPools: + description: Gets or sets the reference of ApplicationGatewayBackendAddressPool resource + items: + $ref: '#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: Gets or sets the reference of LoadBalancerBackendAddressPool resource + items: + $ref: '#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: Gets or sets list of references of LoadBalancerInboundNatRules + items: + $ref: '#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the NIC + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: Gets or sets PrivateIP address version (IPv4/IPv6) + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + subnet: + $ref: '#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for ListNetworkInterface Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets or sets list of NetworkInterfaces in a resource group + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + $ref: '#/definitions/NetworkInterfaceDnsSettings' + description: Gets or sets DNS Settings in NetworkInterface + enableIPForwarding: + description: Gets or sets whether IPForwarding is enabled on the NIC + type: boolean + ipConfigurations: + description: Gets or sets list of IPConfigurations of the NetworkInterface + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: Gets the MAC Address of the network interface + type: string + networkSecurityGroup: + $ref: '#/definitions/NetworkSecurityGroup' + description: Gets or sets the reference of the NetworkSecurityGroup resource + primary: + description: Gets whether this is a primary NIC on a virtual machine + type: boolean + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the network interface resource + type: string + virtualMachine: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of a VirtualMachine + NetworkSecurityGroup: + allOf: + - $ref: '#/definitions/Resource' + description: NetworkSecurityGroup resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of NetworkSecurityGroups in a resource group + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource + properties: + defaultSecurityRules: + description: Gets or sets Default security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + networkInterfaces: + description: Gets collection of references to Network Interfaces + items: + $ref: '#/definitions/NetworkInterface' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the network security group resource + type: string + securityRules: + description: Gets or sets Security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/Subnet' + type: array + OutboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Outbound NAT pool of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the loadbalancer + properties: + allocatedOutboundPorts: + description: Gets or sets the number of outbound ports to be used for SNAT + format: int32 + type: integer + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs + frontendIPConfigurations: + description: Gets or sets Frontend IP addresses of the load balancer + items: + $ref: '#/definitions/SubResource' + type: array + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - backendAddressPool + Probe: + allOf: + - $ref: '#/definitions/SubResource' + description: Load balancer Probe + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'Gets or sets the interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5' + format: int32 + type: integer + loadBalancingRules: + description: Gets Load balancer rules that use this probe + items: + $ref: '#/definitions/SubResource' + type: array + numberOfProbes: + description: 'Gets or sets the number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. ' + format: int32 + type: integer + port: + description: 'Gets or sets Port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'Gets or sets the protocol of the end point. Possible values are http pr Tcp. If Tcp is specified, a received ACK is required for the probe to be successful. If http is specified,a 200 OK response from the specifies URI is required for the probe to be successful' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + requestPath: + description: 'Gets or sets the URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value' + type: string + required: + - protocol + - port + PublicIPAddress: + allOf: + - $ref: '#/definitions/Resource' + description: PublicIPAddress resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of publicIP addresses that exists in a resource group + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: PublicIpAddress properties + properties: + dnsSettings: + $ref: '#/definitions/PublicIPAddressDnsSettings' + description: Gets or sets FQDN of the DNS record associated with the public IP address + idleTimeoutInMinutes: + description: Gets or sets the idle timeout of the public IP address + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: '#/definitions/IPConfiguration' + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddressVersion: + description: Gets or sets PublicIP address version (IPv4/IPv6) + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: Gets or sets PublicIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: Gets or sets resource GUID property of the PublicIP resource + type: string + Resource: + properties: + id: + description: Resource Id + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: Resource type + readOnly: true + type: string + x-ms-azure-resource: true + Route: + allOf: + - $ref: '#/definitions/SubResource' + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/RoutePropertiesFormat' + x-ms-client-flatten: true + RouteListResult: + description: Response for ListRoute Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of Routes in a resource group + items: + $ref: '#/definitions/Route' + type: array + RoutePropertiesFormat: + description: Route resource + properties: + addressPrefix: + description: Gets or sets the destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + type: string + nextHopType: + description: Gets or sets the type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed + type: string + required: + - nextHopType + RouteTable: + allOf: + - $ref: '#/definitions/Resource' + description: RouteTable resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/RouteTablePropertiesFormat' + x-ms-client-flatten: true + RouteTableListResult: + description: Response for ListRouteTable Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RouteTables in a resource group + items: + $ref: '#/definitions/RouteTable' + type: array + RouteTablePropertiesFormat: + description: Route Table resource + properties: + provisioningState: + description: Gets or sets Provisioning state of the resource Updating/Deleting/Failed + type: string + routes: + description: Gets or sets Routes in a Route Table + items: + $ref: '#/definitions/Route' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/Subnet' + type: array + SecurityRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Network security rule + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SecurityRulePropertiesFormat' + x-ms-client-flatten: true + SecurityRuleListResult: + description: Response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets security rules in a network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: Gets or sets network traffic is allowed or denied. Possible values are 'Allow' and 'Deny' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: Gets or sets a description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'Gets or sets destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. ' + type: string + destinationPortRange: + description: Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'Gets or sets the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + sourceAddressPrefix: + description: 'Gets or sets source address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SubResource: + properties: + id: + description: Resource Id + type: string + x-ms-azure-resource: true + Subnet: + allOf: + - $ref: '#/definitions/SubResource' + description: Subnet in a VirtualNetwork resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + SubnetListResult: + description: Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the subnets in a virtual network + items: + $ref: '#/definitions/Subnet' + type: array + SubnetPropertiesFormat: + properties: + addressPrefix: + description: Gets or sets Address prefix for the subnet. + type: string + ipConfigurations: + description: Gets array of references to the network interface IP configurations using subnet + items: + $ref: '#/definitions/IPConfiguration' + type: array + networkSecurityGroup: + $ref: '#/definitions/NetworkSecurityGroup' + description: Gets or sets the reference of the NetworkSecurityGroup resource + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + routeTable: + $ref: '#/definitions/RouteTable' + description: Gets or sets the reference of the RouteTable resource + Usage: + description: Describes Network Resource Usage. + properties: + currentValue: + description: Gets or sets the current value of the usage. + format: int64 + type: integer + limit: + description: Gets or sets the limit of usage. + format: int64 + type: integer + name: + $ref: '#/definitions/UsageName' + description: Gets or sets the name of the type of usage. + unit: + description: Gets or sets an enum describing the unit of measurement. + enum: + - Count + type: string + x-ms-enum: + modelAsString: true + name: UsageUnit + required: + - unit + - currentValue + - limit + - name + UsageName: + description: The Usage Names. + properties: + localizedValue: + description: Gets or sets a localized string describing the resource name. + type: string + value: + description: Gets or sets a string describing the resource name. + type: string + UsagesListResult: + description: The List Usages operation response. + properties: + value: + description: Gets or sets the list Network Resource Usages. + items: + $ref: '#/definitions/Usage' + type: array + VirtualNetwork: + allOf: + - $ref: '#/definitions/Resource' + description: Virtual Network resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnection: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnectionListResult: + description: Response for ListVirtualNetworkGatewayConnections Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGatewayConnections that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + type: array + VirtualNetworkGatewayConnectionPropertiesFormat: + description: VirtualNetworkGatewayConnection properties + properties: + authorizationKey: + description: The authorizationKey. + type: string + connectionStatus: + description: Virtual network Gateway connection status + enum: + - Unknown + - Connecting + - Connected + - NotConnected + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionStatus + connectionType: + description: Gateway connection type IPsec/Dedicated/VpnClient/Vnet2Vnet + enum: + - IPsec + - Vnet2Vnet + - ExpressRoute + - VPNClient + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionType + egressBytesTransferred: + description: The Egress Bytes Transferred in this connection + format: int64 + type: integer + enableBgp: + description: EnableBgp Flag + type: boolean + ingressBytesTransferred: + description: The Ingress Bytes Transferred in this connection + format: int64 + type: integer + localNetworkGateway2: + $ref: '#/definitions/LocalNetworkGateway' + peer: + $ref: '#/definitions/SubResource' + description: The reference to peerings resource. + provisioningState: + description: Gets or sets Provisioning state of the VirtualNetworkGatewayConnection resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the VirtualNetworkGatewayConnection resource + type: string + routingWeight: + description: The Routing weight. + format: int32 + type: integer + sharedKey: + description: The IPsec share key. + type: string + virtualNetworkGateway1: + $ref: '#/definitions/VirtualNetworkGateway' + virtualNetworkGateway2: + $ref: '#/definitions/VirtualNetworkGateway' + VirtualNetworkGatewayIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IpConfiguration for Virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayIPConfigurationPropertiesFormat: + description: Properties of VirtualNetworkGatewayIPConfiguration + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + VirtualNetworkGatewayListResult: + description: Response for ListVirtualNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGateway' + type: array + VirtualNetworkGatewayPropertiesFormat: + description: VirtualNetworkGateway properties + properties: + bgpSettings: + $ref: '#/definitions/BgpSettings' + description: Virtual network gateway's BGP speaker settings + enableBgp: + description: EnableBgp Flag + type: boolean + gatewayDefaultSite: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the LocalNetworkGateway resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting. + gatewayType: + description: The type of this virtual network gateway. + enum: + - Vpn + - ExpressRoute + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayType + ipConfigurations: + description: IpConfigurations for Virtual network gateway. + items: + $ref: '#/definitions/VirtualNetworkGatewayIPConfiguration' + type: array + provisioningState: + description: Gets or sets Provisioning state of the VirtualNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the VirtualNetworkGateway resource + type: string + sku: + $ref: '#/definitions/VirtualNetworkGatewaySku' + description: Gets or sets the reference of the VirtualNetworkGatewaySku resource which represents the sku selected for Virtual network gateway. + vpnClientConfiguration: + $ref: '#/definitions/VpnClientConfiguration' + description: Gets or sets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. + vpnType: + description: The type of this virtual network gateway. + enum: + - PolicyBased + - RouteBased + type: string + x-ms-enum: + modelAsString: true + name: VpnType + VirtualNetworkGatewaySku: + description: VirtualNetworkGatewaySku details + properties: + capacity: + description: The capacity + format: int32 + type: integer + name: + description: Gateway sku name -Basic/HighPerformance/Standard + enum: + - Basic + - HighPerformance + - Standard + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewaySkuName + tier: + description: Gateway sku tier -Basic/HighPerformance/Standard + enum: + - Basic + - HighPerformance + - Standard + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewaySkuTier + VirtualNetworkListResult: + description: Response for ListVirtualNetworks Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets list of VirtualNetworks in a resource group + items: + $ref: '#/definitions/VirtualNetwork' + type: array + VirtualNetworkPropertiesFormat: + properties: + addressSpace: + $ref: '#/definitions/AddressSpace' + description: Gets or sets AddressSpace that contains an array of IP address ranges that can be used by subnets + dhcpOptions: + $ref: '#/definitions/DhcpOptions' + description: Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network + provisioningState: + description: Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource GUID property of the VirtualNetwork resource + type: string + subnets: + description: Gets or sets List of subnets in a VirtualNetwork + items: + $ref: '#/definitions/Subnet' + type: array + VpnClientConfiguration: + description: VpnClientConfiguration for P2S client + properties: + vpnClientAddressPool: + $ref: '#/definitions/AddressSpace' + description: Gets or sets the reference of the Address space resource which represents Address space for P2S VpnClient. + vpnClientRevokedCertificates: + description: VpnClientRevokedCertificate for Virtual network gateway. + items: + $ref: '#/definitions/VpnClientRevokedCertificate' + type: array + vpnClientRootCertificates: + description: VpnClientRootCertificate for Virtual network gateway. + items: + $ref: '#/definitions/VpnClientRootCertificate' + type: array + VpnClientParameters: + description: VpnClientParameters + properties: + ProcessorArchitecture: + description: VPN client Processor Architecture -Amd64/X86 + enum: + - Amd64 + - X86 + type: string + x-ms-enum: + modelAsString: true + name: ProcessorArchitecture + VpnClientRevokedCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: VPN client revoked certificate of virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VpnClientRevokedCertificatePropertiesFormat' + x-ms-client-flatten: true + VpnClientRevokedCertificatePropertiesFormat: + description: Properties of the revoked VPN client certificate of virtual network gateway + properties: + provisioningState: + description: Gets or sets Provisioning state of the VPN client revoked certificate resource Updating/Deleting/Failed + type: string + thumbprint: + description: Gets or sets the revoked Vpn client certificate thumbprint + type: string + VpnClientRootCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: VPN client root certificate of virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VpnClientRootCertificatePropertiesFormat' + x-ms-client-flatten: true + VpnClientRootCertificatePropertiesFormat: + description: Properties of SSL certificates of application gateway + properties: + provisioningState: + description: Gets or sets Provisioning state of the VPN client root certificate resource Updating/Deleting/Failed + type: string + publicCertData: + description: Gets or sets the certificate public data + type: string diff --git a/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-06-01/swagger.yaml b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-06-01/swagger.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f38955d036fcd0c6f5be79a692afb5cbefd06d49 --- /dev/null +++ b/source_data/pinned/apis-guru/commit-f04b8d0bcd39/APIs/azure.com/network/2016-06-01/swagger.yaml @@ -0,0 +1,5440 @@ +swagger: '2.0' +schemes: + - https +host: management.azure.com +info: + description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service. + title: NetworkManagementClient + version: '2016-06-01' + x-apisguru-categories: + - cloud + x-logo: + url: 'https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png' + x-origin: + - format: swagger + url: 'https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2016-06-01/network.json' + version: '2.0' + x-preferred: true + x-providerName: azure.com + x-serviceName: network + x-tags: + - Azure + - Microsoft +consumes: + - application/json + - text/json +produces: + - application/json + - text/json +securityDefinitions: + azure_auth: + authorizationUrl: 'https://login.microsoftonline.com/common/oauth2/authorize' + description: Azure Active Directory OAuth2 Flow + flow: implicit + scopes: + user_impersonation: impersonate your user account + type: oauth2 +security: + - azure_auth: + - user_impersonation +parameters: + ApiVersionParameter: + description: Client Api Version. + in: query + name: api-version + required: true + type: string + SubscriptionIdParameter: + description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + in: path + name: subscriptionId + required: true + type: string +paths: + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways': + get: + description: The List ApplicationGateway operation retrieves all the application gateways in a subscription. + operationId: ApplicationGateways_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a subscription. + operationId: ExpressRouteCircuits_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders': + get: + description: The List ExpressRouteServiceProvider operation retrieves all the available ExpressRouteServiceProviders. + operationId: ExpressRouteServiceProviders_List + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteServiceProviderListResult' + tags: + - ExpressRouteServiceProviders + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a subscription. + operationId: LoadBalancers_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability': + get: + description: Checks whether a domain name in the cloudapp.net zone is available for use. + operationId: CheckDnsNameAvailability + parameters: + - description: The location of the domain name + in: path + name: location + required: true + type: string + - description: 'The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.' + in: query + name: domainNameLabel + required: false + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/DnsNameAvailabilityResult' + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages': + get: + description: Lists compute usages for a subscription. + operationId: Usages_List + parameters: + - description: The location upon which resource usage is queried. + in: path + name: location + pattern: '^[-\w\._]+$' + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/UsagesListResult' + tags: + - Usages + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a subscription. + operationId: NetworkInterfaces_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a subscription + operationId: NetworkSecurityGroups_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a subscription. + operationId: PublicIPAddresses_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a subscription + operationId: RouteTables_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a subscription + operationId: VirtualNetworks_ListAll + parameters: + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways': + get: + description: The List ApplicationGateway operation retrieves all the application gateways in a resource group. + operationId: ApplicationGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGatewayListResult' + tags: + - ApplicationGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}': + delete: + description: The delete ApplicationGateway operation deletes the specified application gateway. + operationId: ApplicationGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + get: + description: The Get ApplicationGateway operation retrieves information about the specified application gateway. + operationId: ApplicationGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + put: + description: The Put ApplicationGateway operation creates/updates a ApplicationGateway + operationId: ApplicationGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the ApplicationGateway. + in: path + name: applicationGatewayName + required: true + type: string + - description: Parameters supplied to the create/delete ApplicationGateway operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ApplicationGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + '201': + description: '' + schema: + $ref: '#/definitions/ApplicationGateway' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start': + post: + description: The Start ApplicationGateway operation starts application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Start + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop': + post: + description: The STOP ApplicationGateway operation stops application gateway in the specified resource group through Network resource provider. + operationId: ApplicationGateways_Stop + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the application gateway. + in: path + name: applicationGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + tags: + - ApplicationGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections': + get: + description: The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. + operationId: VirtualNetworkGatewayConnections_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnectionListResult' + tags: + - VirtualNetworkGatewayConnections + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}': + delete: + description: The Delete VirtualNetworkGatewayConnection operation deletes the specified virtual network Gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + get: + description: The Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider. + operationId: VirtualNetworkGatewayConnections_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway connection. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey': + get: + description: The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. + operationId: VirtualNetworkGatewayConnections_GetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection shared key name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKeyResult' + tags: + - VirtualNetworkGatewayConnections + put: + description: The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_SetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + '201': + description: '' + schema: + $ref: '#/definitions/ConnectionSharedKey' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset': + post: + description: The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. + operationId: VirtualNetworkGatewayConnections_ResetSharedKey + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The virtual network gateway connection reset shared key Name. + in: path + name: virtualNetworkGatewayConnectionName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ConnectionResetSharedKey' + '202': + description: '' + tags: + - VirtualNetworkGatewayConnections + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits': + get: + description: The List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitListResult' + tags: + - ExpressRouteCircuits + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}': + delete: + description: The delete ExpressRouteCircuit operation deletes the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route Circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + get: + description: The Get ExpressRouteCircuit operation retrieves information about the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuits_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + put: + description: The Put ExpressRouteCircuit operation creates/updates a ExpressRouteCircuit + operationId: ExpressRouteCircuits_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: Parameters supplied to the create/delete ExpressRouteCircuit operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuit' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuit' + tags: + - ExpressRouteCircuits + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations': + get: + description: The List authorization operation retrieves all the authorizations in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/AuthorizationListResult' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}': + delete: + description: The delete authorization operation deletes the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + get: + description: The GET authorization operation retrieves the specified authorization from the specified ExpressRouteCircuit. + operationId: ExpressRouteCircuitAuthorizations_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + put: + description: The Put Authorization operation creates/updates an authorization in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitAuthorizations_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the authorization. + in: path + name: authorizationName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuitAuthorization operation + in: body + name: authorizationParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + tags: + - ExpressRouteCircuitAuthorizations + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings': + get: + description: The List peering operation retrieves all the peerings in an ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeeringListResult' + tags: + - ExpressRouteCircuitPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}': + delete: + description: The delete peering operation deletes the specified peering from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + get: + description: The GET peering operation retrieves the specified authorization from the ExpressRouteCircuit. + operationId: ExpressRouteCircuitPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + put: + description: The Put Peering operation creates/updates an peering in the specified ExpressRouteCircuits + operationId: ExpressRouteCircuitPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the express route circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: Parameters supplied to the create/update ExpressRouteCircuit Peering operation + in: body + name: peeringParameters + required: true + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + '201': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitPeering' + tags: + - ExpressRouteCircuitPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}': + post: + description: The ListArpTable from ExpressRouteCircuit operation retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListArpTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsArpTableListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitArpTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}': + post: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitRoutesTable + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}': + post: + description: The ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_ListRoutesTableSummary + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - description: The path of the device. + in: path + name: devicePath + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult' + '202': + description: '' + tags: + - ExpressRouteCircuitRoutesTableSummary + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats': + get: + description: The List stats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_GetPeeringStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - description: The name of the peering. + in: path + name: peeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats': + get: + description: The List stats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. + operationId: ExpressRouteCircuits_GetStats + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the circuit. + in: path + name: circuitName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/ExpressRouteCircuitStats' + tags: + - ExpressRouteCircuitStats + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers': + get: + description: The List loadBalancer operation retrieves all the load balancers in a resource group. + operationId: LoadBalancers_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancerListResult' + tags: + - LoadBalancers + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}': + delete: + description: The delete LoadBalancer operation deletes the specified load balancer. + operationId: LoadBalancers_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LoadBalancers + x-ms-long-running-operation: true + get: + description: The Get LoadBalancer operation retrieves information about the specified LoadBalancer. + operationId: LoadBalancers_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + put: + description: The Put LoadBalancer operation creates/updates a LoadBalancer + operationId: LoadBalancers_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the loadBalancer. + in: path + name: loadBalancerName + required: true + type: string + - description: Parameters supplied to the create/delete LoadBalancer operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LoadBalancer' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + '201': + description: '' + schema: + $ref: '#/definitions/LoadBalancer' + tags: + - LoadBalancers + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways': + get: + description: The List LocalNetworkGateways operation retrieves all the local network gateways stored. + operationId: LocalNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGatewayListResult' + tags: + - LocalNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}': + delete: + description: The Delete LocalNetworkGateway operation deletes the specified local network Gateway through Network resource provider. + operationId: LocalNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + get: + description: The Get LocalNetworkGateway operation retrieves information about the specified local network gateway through Network resource provider. + operationId: LocalNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + put: + description: The Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider. + operationId: LocalNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the local network gateway. + in: path + name: localNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/LocalNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/LocalNetworkGateway' + tags: + - LocalNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces': + get: + description: The List networkInterfaces operation retrieves all the networkInterfaces in a resource group. + operationId: NetworkInterfaces_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}': + delete: + description: The delete networkInterface operation deletes the specified networkInterface. + operationId: NetworkInterfaces_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + get: + description: The Get network interface operation retrieves information about the specified network interface. + operationId: NetworkInterfaces_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + put: + description: The Put NetworkInterface operation creates/updates a networkInterface + operationId: NetworkInterfaces_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - description: Parameters supplied to the create/update NetworkInterface operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkInterface' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups': + post: + description: The list effective network security group operation retrieves all the network security groups applied on a networkInterface. + operationId: NetworkInterfaces_ListEffectiveNetworkSecurityGroups + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/EffectiveNetworkSecurityGroupListResult' + '202': + description: '' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable': + post: + description: Retrieves all the route tables applied on a networkInterface. + operationId: NetworkInterfaces_GetEffectiveRouteTable + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/EffectiveRouteListResult' + '202': + description: '' + tags: + - NetworkInterfaces + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups': + get: + description: The list NetworkSecurityGroups returns all network security groups in a resource group + operationId: NetworkSecurityGroups_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroupListResult' + tags: + - NetworkSecurityGroups + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}': + delete: + description: The Delete NetworkSecurityGroup operation deletes the specified network security group + operationId: NetworkSecurityGroups_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityGroups operation retrieves information about the specified network security group. + operationId: NetworkSecurityGroups_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + put: + description: The Put NetworkSecurityGroup operation creates/updates a network security group in the specified resource group. + operationId: NetworkSecurityGroups_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: Parameters supplied to the create/update Network Security Group operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/NetworkSecurityGroup' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + '201': + description: '' + schema: + $ref: '#/definitions/NetworkSecurityGroup' + tags: + - NetworkSecurityGroups + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules': + get: + description: The List network security rule operation retrieves all the security rules in a network security group. + operationId: SecurityRules_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRuleListResult' + tags: + - SecurityRules + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}': + delete: + description: The delete network security rule operation deletes the specified network security rule. + operationId: SecurityRules_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - SecurityRules + x-ms-long-running-operation: true + get: + description: The Get NetworkSecurityRule operation retrieves information about the specified network security rule. + operationId: SecurityRules_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + put: + description: The Put network security rule operation creates/updates a security rule in the specified network security group + operationId: SecurityRules_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the network security group. + in: path + name: networkSecurityGroupName + required: true + type: string + - description: The name of the security rule. + in: path + name: securityRuleName + required: true + type: string + - description: Parameters supplied to the create/update network security rule operation + in: body + name: securityRuleParameters + required: true + schema: + $ref: '#/definitions/SecurityRule' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + '201': + description: '' + schema: + $ref: '#/definitions/SecurityRule' + tags: + - SecurityRules + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses': + get: + description: The List publicIpAddress operation retrieves all the publicIpAddresses in a resource group. + operationId: PublicIPAddresses_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddressListResult' + tags: + - PublicIPAddresses + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}': + delete: + description: The delete publicIpAddress operation deletes the specified publicIpAddress. + operationId: PublicIPAddresses_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + get: + description: The Get publicIpAddress operation retrieves information about the specified pubicIpAddress + operationId: PublicIPAddresses_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the subnet. + in: path + name: publicIpAddressName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + put: + description: The Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address + operationId: PublicIPAddresses_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the publicIpAddress. + in: path + name: publicIpAddressName + required: true + type: string + - description: Parameters supplied to the create/update PublicIPAddress operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/PublicIPAddress' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + '201': + description: '' + schema: + $ref: '#/definitions/PublicIPAddress' + tags: + - PublicIPAddresses + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables': + get: + description: The list RouteTables returns all route tables in a resource group + operationId: RouteTables_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTableListResult' + tags: + - RouteTables + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}': + delete: + description: The Delete RouteTable operation deletes the specified Route Table + operationId: RouteTables_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - RouteTables + x-ms-long-running-operation: true + get: + description: The Get RouteTables operation retrieves information about the specified route table. + operationId: RouteTables_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + put: + description: The Put RouteTable operation creates/updates a route table in the specified resource group. + operationId: RouteTables_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: Parameters supplied to the create/update Route Table operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/RouteTable' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteTable' + '201': + description: '' + schema: + $ref: '#/definitions/RouteTable' + tags: + - RouteTables + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes': + get: + description: The List network security rule operation retrieves all the routes in a route table. + operationId: Routes_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/RouteListResult' + tags: + - Routes + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}': + delete: + description: The delete route operation deletes the specified route from a route table. + operationId: Routes_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Routes + x-ms-long-running-operation: true + get: + description: The Get route operation retrieves information about the specified route from the route table. + operationId: Routes_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + put: + description: The Put route operation creates/updates a route in the specified route table + operationId: Routes_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the route table. + in: path + name: routeTableName + required: true + type: string + - description: The name of the route. + in: path + name: routeName + required: true + type: string + - description: Parameters supplied to the create/update route operation + in: body + name: routeParameters + required: true + schema: + $ref: '#/definitions/Route' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Route' + '201': + description: '' + schema: + $ref: '#/definitions/Route' + tags: + - Routes + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways': + get: + description: The List VirtualNetworkGateways operation retrieves all the virtual network gateways stored. + operationId: VirtualNetworkGateways_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGatewayListResult' + tags: + - VirtualNetworkGateways + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}': + delete: + description: The Delete VirtualNetworkGateway operation deletes the specified virtual network Gateway through Network resource provider. + operationId: VirtualNetworkGateways_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + get: + description: The Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider. + operationId: VirtualNetworkGateways_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + put: + description: The Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage': + post: + description: The Generatevpnclientpackage operation generates Vpn client package for P2S client of the virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_Generatevpnclientpackage + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Generating Virtual Network Gateway Vpn client package operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VpnClientParameters' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '202': + description: Vpn client package url + schema: + type: string + tags: + - VirtualNetworkGateways + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset': + post: + description: The Reset VirtualNetworkGateway operation resets the primary of the virtual network gateway in the specified resource group through Network resource provider. + operationId: VirtualNetworkGateways_Reset + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network gateway. + in: path + name: virtualNetworkGatewayName + required: true + type: string + - description: Parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider. + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkGateway' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkGateway' + '202': + description: '' + tags: + - VirtualNetworkGateways + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks': + get: + description: The list VirtualNetwork returns all Virtual Networks in a resource group + operationId: VirtualNetworks_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkListResult' + tags: + - VirtualNetworks + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}': + delete: + description: The Delete VirtualNetwork operation deletes the specified virtual network + operationId: VirtualNetworks_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + get: + description: The Get VirtualNetwork operation retrieves information about the specified virtual network. + operationId: VirtualNetworks_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + put: + description: The Put VirtualNetwork operation creates/updates a virtual network in the specified resource group. + operationId: VirtualNetworks_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: Parameters supplied to the create/update Virtual Network operation + in: body + name: parameters + required: true + schema: + $ref: '#/definitions/VirtualNetwork' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetwork' + tags: + - VirtualNetworks + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability': + get: + description: Checks whether a private Ip address is available for use. + operationId: VirtualNetworks_CheckIPAddressAvailability + parameters: + - description: The private IP address to be verified. + in: query + name: ipAddress + required: false + type: string + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: private IP address availability and list of other free addresses if the requested one is not available + schema: + $ref: '#/definitions/IPAddressAvailabilityResult' + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets': + get: + description: The List subnets operation retrieves all the subnets in a virtual network. + operationId: Subnets_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/SubnetListResult' + tags: + - Subnets + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}': + delete: + description: The delete subnet operation deletes the specified subnet. + operationId: Subnets_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - Subnets + x-ms-long-running-operation: true + get: + description: The Get subnet operation retrieves information about the specified subnet. + operationId: Subnets_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + put: + description: The Put Subnet operation creates/updates a subnet in the specified virtual network + operationId: Subnets_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the subnet. + in: path + name: subnetName + required: true + type: string + - description: Parameters supplied to the create/update Subnet operation + in: body + name: subnetParameters + required: true + schema: + $ref: '#/definitions/Subnet' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/Subnet' + '201': + description: '' + schema: + $ref: '#/definitions/Subnet' + tags: + - Subnets + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings': + get: + description: The List virtual network peerings operation retrieves all the peerings in a virtual network. + operationId: VirtualNetworkPeerings_List + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkPeeringListResult' + tags: + - VirtualNetworkPeerings + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}': + delete: + description: The delete virtual network peering operation deletes the specified peering. + operationId: VirtualNetworkPeerings_Delete + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the virtual network peering. + in: path + name: virtualNetworkPeeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + '202': + description: '' + '204': + description: '' + tags: + - VirtualNetworkPeerings + x-ms-long-running-operation: true + get: + description: The Get virtual network peering operation retrieves information about the specified virtual network peering. + operationId: VirtualNetworkPeerings_Get + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the virtual network peering. + in: path + name: virtualNetworkPeeringName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkPeering' + tags: + - VirtualNetworkPeerings + put: + description: The Put virtual network peering operation creates/updates a peering in the specified virtual network + operationId: VirtualNetworkPeerings_CreateOrUpdate + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual network. + in: path + name: virtualNetworkName + required: true + type: string + - description: The name of the peering. + in: path + name: virtualNetworkPeeringName + required: true + type: string + - description: Parameters supplied to the create/update virtual network peering operation + in: body + name: VirtualNetworkPeeringParameters + required: true + schema: + $ref: '#/definitions/VirtualNetworkPeering' + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkPeering' + '201': + description: '' + schema: + $ref: '#/definitions/VirtualNetworkPeering' + tags: + - VirtualNetworkPeerings + x-ms-long-running-operation: true + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces': + get: + description: The list network interface operation retrieves information about all network interfaces in a virtual machine from a virtual machine scale set. + operationId: NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterfaceListResult' + tags: + - NetworkInterfaces + x-ms-pageable: + nextLinkName: nextLink + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}': + get: + description: The Get network interface operation retrieves information about the specified network interface in a virtual machine scale set. + operationId: NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface + parameters: + - description: The name of the resource group. + in: path + name: resourceGroupName + required: true + type: string + - description: The name of the virtual machine scale set. + in: path + name: virtualMachineScaleSetName + required: true + type: string + - description: The virtual machine index. + in: path + name: virtualmachineIndex + required: true + type: string + - description: The name of the network interface. + in: path + name: networkInterfaceName + required: true + type: string + - $ref: '#/parameters/ApiVersionParameter' + - $ref: '#/parameters/SubscriptionIdParameter' + - description: expand references resources. + in: query + name: $expand + required: false + type: string + responses: + '200': + description: '' + schema: + $ref: '#/definitions/NetworkInterface' + tags: + - NetworkInterfaces +definitions: + AddressSpace: + description: AddressSpace contains an array of IP address ranges that can be used by subnets + properties: + addressPrefixes: + description: Gets or sets list of address blocks reserved for this virtual network in CIDR notation + items: + type: string + type: array + ApplicationGateway: + allOf: + - $ref: '#/definitions/Resource' + description: ApplicationGateways resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ApplicationGatewayPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: Authentication certificates of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayAuthenticationCertificatePropertiesFormat: + description: Properties of Authentication certificates of application gateway + properties: + data: + description: 'Certificate public data ' + type: string + provisioningState: + description: Provisioning state of the authentication certificate resource Updating/Deleting/Failed + type: string + ApplicationGatewayBackendAddress: + description: Backend Address of application gateway + properties: + fqdn: + description: Dns name + type: string + ipAddress: + description: Ip address + type: string + ApplicationGatewayBackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend Address Pool of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendAddressPoolPropertiesFormat: + description: Properties of Backend Address Pool of application gateway + properties: + backendAddresses: + description: Backend addresses + items: + $ref: '#/definitions/ApplicationGatewayBackendAddress' + type: array + backendIPConfigurations: + description: Collection of references to IPs defined in NICs + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + provisioningState: + description: Provisioning state of the backend address pool resource Updating/Deleting/Failed + type: string + ApplicationGatewayBackendHttpSettings: + allOf: + - $ref: '#/definitions/SubResource' + description: Backend address pool settings of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayBackendHttpSettingsPropertiesFormat: + description: Properties of Backend address pool settings of application gateway + properties: + authenticationCertificates: + description: Array of references to Application Gateway Authentication Certificates + items: + $ref: '#/definitions/SubResource' + type: array + cookieBasedAffinity: + description: Cookie affinity + enum: + - Enabled + - Disabled + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayCookieBasedAffinity + port: + description: Port + format: int32 + type: integer + probe: + $ref: '#/definitions/SubResource' + description: 'Probe resource of application gateway ' + protocol: + description: Protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + requestTimeout: + description: Request timeout + format: int32 + type: integer + ApplicationGatewayFrontendIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP configuration of application gateway + properties: + privateIPAddress: + description: PrivateIPAddress of the Network Interface IP Configuration + type: string + privateIPAllocationMethod: + description: PrivateIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Reference of the subnet resource + ApplicationGatewayFrontendPort: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend Port of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayFrontendPortPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayFrontendPortPropertiesFormat: + description: Properties of Frontend Port of application gateway + properties: + port: + description: Frontend port + format: int32 + type: integer + provisioningState: + description: Provisioning state of the frontend port resource Updating/Deleting/Failed + type: string + ApplicationGatewayHttpListener: + allOf: + - $ref: '#/definitions/SubResource' + description: Http listener of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayHttpListenerPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayHttpListenerPropertiesFormat: + description: Properties of Http listener of application gateway + properties: + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: 'Frontend IP configuration resource of application gateway ' + frontendPort: + $ref: '#/definitions/SubResource' + description: 'Frontend port resource of application gateway ' + hostName: + description: 'Host name of http listener ' + type: string + protocol: + description: Protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Provisioning state of the http listener resource Updating/Deleting/Failed + type: string + requireServerNameIndication: + description: 'RequireServerNameIndication of http listener ' + type: boolean + sslCertificate: + $ref: '#/definitions/SubResource' + description: 'Ssl certificate resource of application gateway ' + ApplicationGatewayIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IP configuration of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayIPConfigurationPropertiesFormat: + description: Properties of IP configuration of application gateway + properties: + provisioningState: + description: Provisioning state of the application gateway subnet resource Updating/Deleting/Failed + type: string + subnet: + $ref: '#/definitions/SubResource' + description: 'Reference of the subnet resource. A subnet from where application gateway gets its private address ' + ApplicationGatewayListResult: + description: Response for ListApplicationGateways Api service call + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: List of ApplicationGateways in a resource group + items: + $ref: '#/definitions/ApplicationGateway' + type: array + ApplicationGatewayPathRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Path rule of URL path map of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayPathRulePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayPathRulePropertiesFormat: + description: Properties of probe of application gateway + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Backend address pool resource of URL path map ' + backendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Backend http settings resource of URL path map ' + paths: + description: Path rules of URL path map + items: + type: string + type: array + provisioningState: + description: Path rule of URL path map resource Updating/Deleting/Failed + type: string + ApplicationGatewayProbe: + allOf: + - $ref: '#/definitions/SubResource' + description: Probe of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayProbePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayProbePropertiesFormat: + description: Properties of probe of application gateway + properties: + host: + description: 'Host to send probe to ' + type: string + interval: + description: 'Probing interval in seconds ' + format: int32 + type: integer + path: + description: 'Relative path of probe ' + type: string + protocol: + description: Protocol + enum: + - Http + - Https + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayProtocol + provisioningState: + description: Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + timeout: + description: 'Probing timeout in seconds ' + format: int32 + type: integer + unhealthyThreshold: + description: 'Probing unhealthy threshold ' + format: int32 + type: integer + ApplicationGatewayPropertiesFormat: + description: Properties of Application Gateway + properties: + authenticationCertificates: + description: Authentication certificates of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayAuthenticationCertificate' + type: array + backendAddressPools: + description: Backend address pool of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendAddressPool' + type: array + backendHttpSettingsCollection: + description: Backend http settings of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayBackendHttpSettings' + type: array + frontendIPConfigurations: + description: Frontend IP addresses of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendIPConfiguration' + type: array + frontendPorts: + description: Frontend ports of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayFrontendPort' + type: array + gatewayIPConfigurations: + description: Subnets of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayIPConfiguration' + type: array + httpListeners: + description: HTTP listeners of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayHttpListener' + type: array + operationalState: + description: Operational state of application gateway resource + enum: + - Stopped + - Starting + - Running + - Stopping + readOnly: true + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayOperationalState + probes: + description: Probes of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayProbe' + type: array + provisioningState: + description: Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed + type: string + requestRoutingRules: + description: Request routing rules of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRule' + type: array + resourceGuid: + description: Resource guid property of the ApplicationGateway resource + type: string + sku: + $ref: '#/definitions/ApplicationGatewaySku' + description: Sku of application gateway resource + sslCertificates: + description: SSL certificates of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewaySslCertificate' + type: array + sslPolicy: + $ref: '#/definitions/ApplicationGatewaySslPolicy' + description: SSL policy of application gateway resource + urlPathMaps: + description: URL path map of application gateway resource + items: + $ref: '#/definitions/ApplicationGatewayUrlPathMap' + type: array + ApplicationGatewayRequestRoutingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Request routing rule of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayRequestRoutingRulePropertiesFormat: + description: Properties of Request routing rule of application gateway + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Backend address pool resource of application gateway ' + backendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Frontend port resource of application gateway ' + httpListener: + $ref: '#/definitions/SubResource' + description: 'Http listener resource of application gateway ' + provisioningState: + description: Provisioning state of the request routing rule resource Updating/Deleting/Failed + type: string + ruleType: + description: Rule type + enum: + - Basic + - PathBasedRouting + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayRequestRoutingRuleType + urlPathMap: + $ref: '#/definitions/SubResource' + description: 'Url path map resource of application gateway ' + ApplicationGatewaySku: + description: SKU of application gateway + properties: + capacity: + description: Capacity (instance count) of application gateway + format: int32 + type: integer + name: + description: Name of application gateway SKU + enum: + - Standard_Small + - Standard_Medium + - Standard_Large + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySkuName + tier: + description: Tier of application gateway + enum: + - Standard + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewayTier + ApplicationGatewaySslCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: SSL certificates of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewaySslCertificatePropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewaySslCertificatePropertiesFormat: + description: Properties of SSL certificates of application gateway + properties: + data: + description: 'SSL Certificate data ' + type: string + password: + description: 'SSL Certificate password ' + type: string + provisioningState: + description: Provisioning state of the ssl certificate resource Updating/Deleting/Failed + type: string + publicCertData: + description: 'SSL Certificate public data ' + type: string + ApplicationGatewaySslPolicy: + description: Application gateway SSL policy + properties: + disabledSslProtocols: + description: SSL protocols to be disabled on Application Gateway + items: + enum: + - TLSv1_0 + - TLSv1_1 + - TLSv1_2 + type: string + x-ms-enum: + modelAsString: true + name: ApplicationGatewaySslProtocol + type: array + ApplicationGatewayUrlPathMap: + allOf: + - $ref: '#/definitions/SubResource' + description: UrlPathMap of application gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat' + x-ms-client-flatten: true + ApplicationGatewayUrlPathMapPropertiesFormat: + description: Properties of UrlPathMap of application gateway + properties: + defaultBackendAddressPool: + $ref: '#/definitions/SubResource' + description: 'Default backend address pool resource of URL path map ' + defaultBackendHttpSettings: + $ref: '#/definitions/SubResource' + description: 'Default backend http settings resource of URL path map ' + pathRules: + description: Path rule of URL path map resource + items: + $ref: '#/definitions/ApplicationGatewayPathRule' + type: array + provisioningState: + description: Provisioning state of the backend http settings resource Updating/Deleting/Failed + type: string + AuthorizationListResult: + description: Response for ListAuthorizations Api service callRetrieves all authorizations that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the authorizations in an ExpressRoute Circuit + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + AuthorizationPropertiesFormat: + properties: + authorizationKey: + description: Gets or sets the authorization key + type: string + authorizationUseStatus: + description: Gets or sets AuthorizationUseStatus + enum: + - Available + - InUse + type: string + x-ms-enum: + modelAsString: true + name: AuthorizationUseStatus + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + AzureAsyncOperationResult: + description: 'The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.' + properties: + error: + $ref: '#/definitions/Error' + status: + description: Status of the AzureAsyncOperation + enum: + - InProgress + - Succeeded + - Failed + type: string + x-ms-enum: + modelAsString: true + name: NetworkOperationStatus + BackendAddressPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Pool of backend IP addresses + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/BackendAddressPoolPropertiesFormat' + x-ms-client-flatten: true + BackendAddressPoolPropertiesFormat: + description: Properties of BackendAddressPool + properties: + backendIPConfigurations: + description: Gets collection of references to IPs defined in NICs + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + readOnly: true + type: array + loadBalancingRules: + description: Gets Load Balancing rules that use this Backend Address Pool + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + outboundNatRule: + $ref: '#/definitions/SubResource' + description: Gets outbound rules that use this Backend Address Pool + readOnly: true + provisioningState: + description: Get provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + BgpSettings: + properties: + asn: + description: Gets or sets this BGP speaker's ASN + format: int64 + type: integer + bgpPeeringAddress: + description: Gets or sets the BGP peering address and BGP identifier of this BGP speaker + type: string + peerWeight: + description: Gets or sets the weight added to routes learned from this BGP speaker + format: int32 + type: integer + ConnectionResetSharedKey: + properties: + keyLength: + description: The virtual network connection reset shared key length + format: int64 + type: integer + ConnectionSharedKey: + description: Response for GetConnectionSharedKey Api service call + properties: + value: + description: The virtual network connection shared key value + type: string + ConnectionSharedKeyResult: + description: Response for CheckConnectionSharedKey Api service call + properties: + value: + description: The virtual network connection shared key value + type: string + DhcpOptions: + description: DHCPOptions contains an array of DNS servers available to VMs deployed in the virtual networkStandard DHCP option for a subnet overrides VNET DHCP options. + properties: + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + DnsNameAvailabilityResult: + description: Response for CheckDnsNameAvailability Api service call + properties: + available: + description: Domain availability (True/False) + type: boolean + EffectiveNetworkSecurityGroup: + description: Effective NetworkSecurityGroup + properties: + association: + $ref: '#/definitions/EffectiveNetworkSecurityGroupAssociation' + effectiveSecurityRules: + description: Gets collection of effective security rules + items: + $ref: '#/definitions/EffectiveNetworkSecurityRule' + type: array + networkSecurityGroup: + $ref: '#/definitions/SubResource' + description: Gets the id of network security group that is applied + EffectiveNetworkSecurityGroupAssociation: + description: Effective NetworkSecurityGroup association + properties: + networkInterface: + $ref: '#/definitions/SubResource' + description: Gets the id of network interface if assigned + subnet: + $ref: '#/definitions/SubResource' + description: Gets the id of subnet if assigned + EffectiveNetworkSecurityGroupListResult: + description: Response for list effective network security groups api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets list of effective network security groups + items: + $ref: '#/definitions/EffectiveNetworkSecurityGroup' + type: array + EffectiveNetworkSecurityRule: + description: Effective NetworkSecurityRules + properties: + access: + description: Gets network traffic is allowed or denied + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + destinationAddressPrefix: + description: Gets destination address prefix + type: string + destinationPortRange: + description: Gets destination port or range + type: string + direction: + description: Gets the direction of the rule + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + expandedDestinationAddressPrefix: + description: Gets expanded destination address prefix + items: + type: string + type: array + expandedSourceAddressPrefix: + description: Gets expanded source address prefix + items: + type: string + type: array + name: + description: Gets the name of the security rule specified by the user (if created by the user) + type: string + priority: + description: Gets the priority of the rule + format: int32 + type: integer + protocol: + description: Gets Network protocol this rule applies to + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + sourceAddressPrefix: + description: Gets source address prefix + type: string + sourcePortRange: + description: Gets source port or range + type: string + EffectiveRoute: + description: Effective Route + properties: + addressPrefix: + description: Gets address prefixes of the effective routes in CIDR notation. + items: + type: string + type: array + name: + description: Gets the name of the user defined route. This is optional. + type: string + nextHopIpAddress: + description: Gets the IP address of the next hop of the effective route + items: + type: string + type: array + nextHopType: + description: Gets or sets the type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + source: + description: Gets who created the route + enum: + - Unknown + - User + - VirtualNetworkGateway + - Default + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteSource + state: + description: Gets value of effective route + enum: + - Active + - Invalid + type: string + x-ms-enum: + modelAsString: true + name: EffectiveRouteState + EffectiveRouteListResult: + description: Response for list effective route api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets list of effective routes + items: + $ref: '#/definitions/EffectiveRoute' + type: array + Error: + properties: + code: + type: string + details: + items: + $ref: '#/definitions/ErrorDetails' + type: array + innerError: + type: string + message: + type: string + target: + type: string + ErrorDetails: + properties: + code: + type: string + message: + type: string + target: + type: string + ExpressRouteCircuit: + allOf: + - $ref: '#/definitions/Resource' + description: ExpressRouteCircuit resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPropertiesFormat' + x-ms-client-flatten: true + sku: + $ref: '#/definitions/ExpressRouteCircuitSku' + description: Gets or sets sku + ExpressRouteCircuitArpTable: + description: The arp table associated with the ExpressRouteCircuit + properties: + age: + description: Age. + format: int32 + type: integer + interface: + description: Interface. + type: string + ipAddress: + description: Gets ipAddress. + type: string + macAddress: + description: Gets macAddress. + type: string + ExpressRouteCircuitAuthorization: + allOf: + - $ref: '#/definitions/SubResource' + description: Authorization in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/AuthorizationPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitListResult: + description: Response for ListExpressRouteCircuit Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of ExpressRouteCircuits in a resource group + items: + $ref: '#/definitions/ExpressRouteCircuit' + type: array + ExpressRouteCircuitPeering: + allOf: + - $ref: '#/definitions/SubResource' + description: Peering in a ExpressRouteCircuit resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ExpressRouteCircuitPeeringPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteCircuitPeeringConfig: + description: Specifies the peering config + properties: + advertisedPublicPrefixes: + description: Gets or sets the reference of AdvertisedPublicPrefixes + items: + type: string + type: array + advertisedPublicPrefixesState: + description: 'Gets or sets AdvertisedPublicPrefixState of the Peering resource ' + enum: + - NotConfigured + - Configuring + - Configured + - ValidationNeeded + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + customerASN: + description: Gets or Sets CustomerAsn of the peering. + format: int32 + type: integer + routingRegistryName: + description: Gets or Sets RoutingRegistryName of the config. + type: string + ExpressRouteCircuitPeeringListResult: + description: Response for ListPeering Api service callRetrieves all Peerings that belongs to an ExpressRouteCircuit + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the peerings in an express route circuit + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + ExpressRouteCircuitPeeringPropertiesFormat: + properties: + azureASN: + description: Gets or sets the azure ASN + format: int32 + type: integer + gatewayManagerEtag: + description: Gets or sets the GatewayManager Etag + type: string + lastModifiedBy: + description: Gets whether the provider or the customer last modified the peering + type: string + microsoftPeeringConfig: + $ref: '#/definitions/ExpressRouteCircuitPeeringConfig' + description: Gets or sets the Microsoft peering config + peerASN: + description: Gets or sets the peer ASN + format: int32 + type: integer + peeringType: + description: Gets or sets PeeringType + enum: + - AzurePublicPeering + - AzurePrivatePeering + - MicrosoftPeering + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringType + primaryAzurePort: + description: Gets or sets the primary port + type: string + primaryPeerAddressPrefix: + description: Gets or sets the primary address prefix + type: string + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + secondaryAzurePort: + description: Gets or sets the secondary port + type: string + secondaryPeerAddressPrefix: + description: Gets or sets the secondary address prefix + type: string + sharedKey: + description: Gets or sets the shared key + type: string + state: + description: Gets or sets state of Peering + enum: + - Disabled + - Enabled + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitPeeringState + stats: + $ref: '#/definitions/ExpressRouteCircuitStats' + description: Gets or peering stats + vlanId: + description: Gets or sets the vlan id + format: int32 + type: integer + ExpressRouteCircuitPropertiesFormat: + description: Properties of ExpressRouteCircuit + properties: + allowClassicOperations: + description: allow classic operations + type: boolean + authorizations: + description: Gets or sets list of authorizations + items: + $ref: '#/definitions/ExpressRouteCircuitAuthorization' + type: array + circuitProvisioningState: + description: 'Gets or sets CircuitProvisioningState state of the resource ' + type: string + gatewayManagerEtag: + description: Gets or sets the GatewayManager Etag + type: string + peerings: + description: Gets or sets list of peerings + items: + $ref: '#/definitions/ExpressRouteCircuitPeering' + type: array + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + serviceKey: + description: Gets or sets ServiceKey + type: string + serviceProviderNotes: + description: Gets or sets ServiceProviderNotes + type: string + serviceProviderProperties: + $ref: '#/definitions/ExpressRouteCircuitServiceProviderProperties' + description: Gets or sets ServiceProviderProperties + serviceProviderProvisioningState: + description: 'Gets or sets ServiceProviderProvisioningState state of the resource ' + enum: + - NotProvisioned + - Provisioning + - Provisioned + - Deprovisioning + type: string + x-ms-enum: + modelAsString: true + name: ServiceProviderProvisioningState + ExpressRouteCircuitRoutesTable: + description: The routes table associated with the ExpressRouteCircuit + properties: + locPrf: + description: locPrf. + type: string + network: + description: network. + type: string + nextHop: + description: nextHop + type: string + path: + description: path . + type: string + weight: + description: weight. + format: int32 + type: integer + ExpressRouteCircuitRoutesTableSummary: + description: The routes table associated with the ExpressRouteCircuit + properties: + as: + description: Autonomous system number. + format: int32 + type: integer + neighbor: + description: Neighbor. + type: string + statePfxRcd: + description: 'Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.' + type: string + upDown: + description: 'The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.' + type: string + v: + description: BGP version number spoken to the neighbor. + format: int32 + type: integer + ExpressRouteCircuitServiceProviderProperties: + description: Contains ServiceProviderProperties in an ExpressRouteCircuit + properties: + bandwidthInMbps: + description: Gets or sets BandwidthInMbps. + format: int32 + type: integer + peeringLocation: + description: Gets or sets peering location. + type: string + serviceProviderName: + description: Gets or sets serviceProviderName. + type: string + ExpressRouteCircuitSku: + description: Contains sku in an ExpressRouteCircuit + properties: + family: + description: Gets or sets family of the sku. + enum: + - UnlimitedData + - MeteredData + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuFamily + name: + description: Gets or sets name of the sku. + type: string + tier: + description: Gets or sets tier of the sku. + enum: + - Standard + - Premium + type: string + x-ms-enum: + modelAsString: true + name: ExpressRouteCircuitSkuTier + ExpressRouteCircuitStats: + description: Contains Stats associated with the peering + properties: + primarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + primarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + secondarybytesIn: + description: Gets BytesIn of the peering. + format: int64 + type: integer + secondarybytesOut: + description: Gets BytesOut of the peering. + format: int64 + type: integer + ExpressRouteCircuitsArpTableListResult: + description: Response for ListArpTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ArpTable + items: + $ref: '#/definitions/ExpressRouteCircuitArpTable' + type: array + ExpressRouteCircuitsRoutesTableListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RoutesTable + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTable' + type: array + ExpressRouteCircuitsRoutesTableSummaryListResult: + description: Response for ListRoutesTable associated with the Express Route Circuits Api + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RoutesTable + items: + $ref: '#/definitions/ExpressRouteCircuitRoutesTableSummary' + type: array + ExpressRouteServiceProvider: + allOf: + - $ref: '#/definitions/Resource' + description: ExpressRouteResourceProvider object + properties: + properties: + $ref: '#/definitions/ExpressRouteServiceProviderPropertiesFormat' + x-ms-client-flatten: true + ExpressRouteServiceProviderBandwidthsOffered: + description: Contains Bandwidths offered in ExpressRouteServiceProviders + properties: + offerName: + description: Gets the OfferName + type: string + valueInMbps: + description: Gets the ValueInMbps. + format: int32 + type: integer + ExpressRouteServiceProviderListResult: + description: Response for ListExpressRouteServiceProvider Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of ExpressRouteResourceProvider + items: + $ref: '#/definitions/ExpressRouteServiceProvider' + type: array + ExpressRouteServiceProviderPropertiesFormat: + description: Properties of ExpressRouteServiceProvider + properties: + bandwidthsOffered: + description: Gets or bandwidths offered + items: + $ref: '#/definitions/ExpressRouteServiceProviderBandwidthsOffered' + type: array + peeringLocations: + description: Gets or list of peering locations + items: + type: string + type: array + provisioningState: + description: 'Gets provisioning state of the resource ' + type: string + FrontendIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: Frontend IP address of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/FrontendIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + FrontendIPConfigurationPropertiesFormat: + description: Properties of Frontend IP Configuration of the load balancer + properties: + inboundNatPools: + description: Read only. Inbound pools URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + inboundNatRules: + description: Read only. Inbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + loadBalancingRules: + description: Gets Load Balancing rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + outboundNatRules: + description: Read only. Outbound rules URIs that use this frontend IP + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + privateIPAddress: + description: Gets or sets the privateIPAddress of the IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/Subnet' + description: Gets or sets the reference of the subnet resource + IPAddressAvailabilityResult: + description: Response for CheckIPAddressAvailability Api service call + properties: + available: + description: Private IP address availability + type: boolean + availableIPAddresses: + description: Contains other available private IP addresses if the asked for address is taken + items: + type: string + type: array + IPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IPConfiguration + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/IPConfigurationPropertiesFormat' + x-ms-client-flatten: true + IPConfigurationPropertiesFormat: + description: Properties of IPConfiguration + properties: + privateIPAddress: + description: Gets or sets the privateIPAddress of the IP Configuration + type: string + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/Subnet' + description: Gets or sets the reference of the subnet resource + InboundNatPool: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT pool of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatPoolPropertiesFormat' + x-ms-client-flatten: true + InboundNatPoolPropertiesFormat: + description: Properties of Inbound NAT pool + properties: + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPortRangeEnd: + description: 'Gets or sets the ending port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + frontendPortRangeStart: + description: 'Gets or sets the starting port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPortRangeStart + - frontendPortRangeEnd + - backendPort + InboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Inbound NAT rule of the loadbalancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/InboundNatRulePropertiesFormat' + x-ms-client-flatten: true + InboundNatRulePropertiesFormat: + description: Properties of Inbound NAT rule + properties: + backendIPConfiguration: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + description: Gets or sets a reference to a private ip address defined on a NetworkInterface of a VM. Traffic sent to frontendPort of each of the frontendIPConfigurations is forwarded to the backed IP + readOnly: true + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + protocol: + description: Gets or sets the transport protocol for the endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + LoadBalancer: + allOf: + - $ref: '#/definitions/Resource' + description: LoadBalancer resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LoadBalancerPropertiesFormat' + x-ms-client-flatten: true + LoadBalancerListResult: + description: Response for ListLoadBalancers Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets a list of LoadBalancers in a resource group + items: + $ref: '#/definitions/LoadBalancer' + type: array + LoadBalancerPropertiesFormat: + description: Properties of Load Balancer + properties: + backendAddressPools: + description: Gets or sets Pools of backend IP addresses + items: + $ref: '#/definitions/BackendAddressPool' + type: array + frontendIPConfigurations: + description: Gets or sets frontend IP addresses of the load balancer + items: + $ref: '#/definitions/FrontendIPConfiguration' + type: array + inboundNatPools: + description: Gets or sets inbound NAT pools + items: + $ref: '#/definitions/InboundNatPool' + type: array + inboundNatRules: + description: Gets or sets list of inbound rules + items: + $ref: '#/definitions/InboundNatRule' + type: array + loadBalancingRules: + description: Gets or sets load balancing rules + items: + $ref: '#/definitions/LoadBalancingRule' + type: array + outboundNatRules: + description: Gets or sets outbound NAT rules + items: + $ref: '#/definitions/OutboundNatRule' + type: array + probes: + description: Gets or sets list of Load balancer probes + items: + $ref: '#/definitions/Probe' + type: array + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the Load balancer resource + type: string + LoadBalancingRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Rules of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/LoadBalancingRulePropertiesFormat' + x-ms-client-flatten: true + LoadBalancingRulePropertiesFormat: + description: Properties of the load balancer + properties: + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs + backendPort: + description: 'Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to ''*'' to automatically assign an unallocated port that is discoverable using the runtime API' + format: int32 + type: integer + enableFloatingIP: + description: Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint + type: boolean + frontendIPConfiguration: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to frontend IP Addresses + frontendPort: + description: 'Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive' + format: int32 + type: integer + idleTimeoutInMinutes: + description: Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp + format: int32 + type: integer + loadDistribution: + description: Gets or sets the load distribution policy for this rule + enum: + - Default + - SourceIP + - SourceIPProtocol + type: string + x-ms-enum: + modelAsString: true + name: LoadDistribution + probe: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the load balancer probe used by the Load Balancing rule. + protocol: + description: Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp + enum: + - Udp + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: TransportProtocol + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - protocol + - frontendPort + LocalNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/LocalNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + LocalNetworkGatewayListResult: + description: Response for ListLocalNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of LocalNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/LocalNetworkGateway' + type: array + LocalNetworkGatewayPropertiesFormat: + description: LocalNetworkGateway properties + properties: + bgpSettings: + $ref: '#/definitions/BgpSettings' + description: Local network gateway's BGP speaker settings + gatewayIpAddress: + description: IP address of local network gateway. + type: string + localNetworkAddressSpace: + $ref: '#/definitions/AddressSpace' + description: Local network site Address space + provisioningState: + description: Gets provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the LocalNetworkGateway resource + type: string + NetworkInterface: + allOf: + - $ref: '#/definitions/Resource' + description: A NetworkInterface in a resource group + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkInterfacePropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceDnsSettings: + description: Dns settings of a network interface + properties: + appliedDnsServers: + description: Gets or sets list of Applied DNS servers IP addresses + items: + type: string + type: array + dnsServers: + description: Gets or sets list of DNS servers IP addresses + items: + type: string + type: array + internalDnsNameLabel: + description: Gets or sets the internal DNS name + type: string + internalDomainNameSuffix: + description: Gets or sets internal domain name suffix of the NIC. + type: string + internalFqdn: + description: Gets or sets the internal fqdn. + type: string + NetworkInterfaceIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IPConfiguration in a NetworkInterface + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + NetworkInterfaceIPConfigurationPropertiesFormat: + description: Properties of IPConfiguration + properties: + applicationGatewayBackendAddressPools: + description: Gets or sets the reference of ApplicationGatewayBackendAddressPool resource + items: + $ref: '#/definitions/ApplicationGatewayBackendAddressPool' + type: array + loadBalancerBackendAddressPools: + description: Gets or sets the reference of LoadBalancerBackendAddressPool resource + items: + $ref: '#/definitions/BackendAddressPool' + type: array + loadBalancerInboundNatRules: + description: Gets or sets list of references of LoadBalancerInboundNatRules + items: + $ref: '#/definitions/InboundNatRule' + type: array + primary: + description: Gets whether this is a primary customer address on the NIC + type: boolean + privateIPAddress: + type: string + privateIPAddressVersion: + description: Gets or sets PrivateIP address version (IPv4/IPv6) + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + type: string + publicIPAddress: + $ref: '#/definitions/PublicIPAddress' + subnet: + $ref: '#/definitions/Subnet' + NetworkInterfaceListResult: + description: Response for ListNetworkInterface Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets or sets list of NetworkInterfaces in a resource group + items: + $ref: '#/definitions/NetworkInterface' + type: array + NetworkInterfacePropertiesFormat: + description: 'NetworkInterface properties. ' + properties: + dnsSettings: + $ref: '#/definitions/NetworkInterfaceDnsSettings' + description: Gets or sets DNS settings in network interface + enableIPForwarding: + description: Gets or sets whether IPForwarding is enabled on the NIC + type: boolean + ipConfigurations: + description: Gets or sets list of IPConfigurations of the network interface + items: + $ref: '#/definitions/NetworkInterfaceIPConfiguration' + type: array + macAddress: + description: Gets the MAC address of the network interface + type: string + networkSecurityGroup: + $ref: '#/definitions/NetworkSecurityGroup' + description: Gets or sets the reference of the NetworkSecurityGroup resource + primary: + description: Gets whether this is a primary NIC on a virtual machine + type: boolean + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the network interface resource + type: string + virtualMachine: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of a VirtualMachine + NetworkSecurityGroup: + allOf: + - $ref: '#/definitions/Resource' + description: NetworkSecurityGroup resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/NetworkSecurityGroupPropertiesFormat' + x-ms-client-flatten: true + NetworkSecurityGroupListResult: + description: Response for ListNetworkSecurityGroups Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of NetworkSecurityGroups + items: + $ref: '#/definitions/NetworkSecurityGroup' + type: array + NetworkSecurityGroupPropertiesFormat: + description: Network Security Group resource + properties: + defaultSecurityRules: + description: Gets or default security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + networkInterfaces: + description: Gets collection of references to Network Interfaces + items: + $ref: '#/definitions/NetworkInterface' + readOnly: true + type: array + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the network security group resource + type: string + securityRules: + description: Gets or sets security rules of network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/Subnet' + readOnly: true + type: array + OutboundNatRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Outbound NAT pool of the load balancer + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/OutboundNatRulePropertiesFormat' + x-ms-client-flatten: true + OutboundNatRulePropertiesFormat: + description: Outbound NAT pool of the load balancer + properties: + allocatedOutboundPorts: + description: Gets or sets the number of outbound ports to be used for SNAT + format: int32 + type: integer + backendAddressPool: + $ref: '#/definitions/SubResource' + description: Gets or sets a reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs + frontendIPConfigurations: + description: Gets or sets Frontend IP addresses of the load balancer + items: + $ref: '#/definitions/SubResource' + type: array + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + required: + - backendAddressPool + Probe: + allOf: + - $ref: '#/definitions/SubResource' + description: Load balancer Probe + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ProbePropertiesFormat' + x-ms-client-flatten: true + ProbePropertiesFormat: + properties: + intervalInSeconds: + description: 'Gets or sets the interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5' + format: int32 + type: integer + loadBalancingRules: + description: Gets Load balancer rules that use this probe + items: + $ref: '#/definitions/SubResource' + readOnly: true + type: array + numberOfProbes: + description: 'Gets or sets the number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. ' + format: int32 + type: integer + port: + description: 'Gets or sets Port for communicating the probe. Possible values range from 1 to 65535, inclusive.' + format: int32 + type: integer + protocol: + description: 'Gets or sets the protocol of the end point. Possible values are http or Tcp. If Tcp is specified, a received ACK is required for the probe to be successful. If http is specified,a 200 OK response from the specifies URI is required for the probe to be successful' + enum: + - Http + - Tcp + type: string + x-ms-enum: + modelAsString: true + name: ProbeProtocol + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + requestPath: + description: 'Gets or sets the URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value' + type: string + required: + - protocol + - port + PublicIPAddress: + allOf: + - $ref: '#/definitions/Resource' + description: PublicIPAddress resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/PublicIPAddressPropertiesFormat' + x-ms-client-flatten: true + PublicIPAddressDnsSettings: + description: Contains FQDN of the DNS record associated with the public IP address + properties: + domainNameLabel: + description: 'Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.' + type: string + fqdn: + description: 'Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.' + type: string + reverseFqdn: + description: 'Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ' + type: string + PublicIPAddressListResult: + description: Response for ListPublicIpAddresses Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of publicIP addresses that exists in a resource group + items: + $ref: '#/definitions/PublicIPAddress' + type: array + PublicIPAddressPropertiesFormat: + description: PublicIpAddress properties + properties: + dnsSettings: + $ref: '#/definitions/PublicIPAddressDnsSettings' + description: Gets or sets FQDN of the DNS record associated with the public IP address + idleTimeoutInMinutes: + description: Gets or sets the idle timeout of the public IP address + format: int32 + type: integer + ipAddress: + type: string + ipConfiguration: + $ref: '#/definitions/IPConfiguration' + readOnly: true + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddressVersion: + description: Gets or sets PublicIP address version (IPv4/IPv6) + enum: + - IPv4 + - IPv6 + type: string + x-ms-enum: + modelAsString: true + name: IPVersion + publicIPAllocationMethod: + description: Gets or sets PublicIP allocation method (Static/Dynamic) + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + resourceGuid: + description: Gets or sets resource guid property of the PublicIP resource + type: string + Resource: + properties: + id: + description: Resource Id + type: string + location: + description: Resource location + type: string + name: + description: Resource name + readOnly: true + type: string + tags: + additionalProperties: + type: string + description: Resource tags + type: object + type: + description: Resource type + readOnly: true + type: string + x-ms-azure-resource: true + ResourceNavigationLink: + allOf: + - $ref: '#/definitions/SubResource' + description: ResourceNavigationLink resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + readOnly: true + type: string + name: + description: Name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/ResourceNavigationLinkFormat' + x-ms-client-flatten: true + ResourceNavigationLinkFormat: + description: Properties of ResourceNavigationLink + properties: + link: + description: Link to the external resource + type: string + linkedResourceType: + description: Resource type of the linked resource + type: string + provisioningState: + description: Provisioning state of the ResourceNavigationLink resource + readOnly: true + type: string + Route: + allOf: + - $ref: '#/definitions/SubResource' + description: Route resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/RoutePropertiesFormat' + x-ms-client-flatten: true + RouteListResult: + description: Response for ListRoute Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of Routes in a resource group + items: + $ref: '#/definitions/Route' + type: array + RoutePropertiesFormat: + description: Route resource + properties: + addressPrefix: + description: Gets or sets the destination CIDR to which the route applies. + type: string + nextHopIpAddress: + description: Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + type: string + nextHopType: + description: Gets or sets the type of Azure hop the packet should be sent to. + enum: + - VirtualNetworkGateway + - VnetLocal + - Internet + - VirtualAppliance + - None + type: string + x-ms-enum: + modelAsString: true + name: RouteNextHopType + provisioningState: + description: Gets provisioning state of the resource Updating/Deleting/Failed + type: string + required: + - nextHopType + RouteTable: + allOf: + - $ref: '#/definitions/Resource' + description: RouteTable resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/RouteTablePropertiesFormat' + x-ms-client-flatten: true + RouteTableListResult: + description: Response for ListRouteTable Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of RouteTables in a resource group + items: + $ref: '#/definitions/RouteTable' + type: array + RouteTablePropertiesFormat: + description: Route Table resource + properties: + provisioningState: + description: Gets provisioning state of the resource Updating/Deleting/Failed + type: string + routes: + description: Gets or sets Routes in a Route Table + items: + $ref: '#/definitions/Route' + type: array + subnets: + description: Gets collection of references to subnets + items: + $ref: '#/definitions/Subnet' + readOnly: true + type: array + SecurityRule: + allOf: + - $ref: '#/definitions/SubResource' + description: Network security rule + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SecurityRulePropertiesFormat' + x-ms-client-flatten: true + SecurityRuleListResult: + description: Response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets security rules in a network security group + items: + $ref: '#/definitions/SecurityRule' + type: array + SecurityRulePropertiesFormat: + properties: + access: + description: Gets or sets network traffic is allowed or denied. Possible values are 'Allow' and 'Deny' + enum: + - Allow + - Deny + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleAccess + description: + description: Gets or sets a description for this rule. Restricted to 140 chars. + type: string + destinationAddressPrefix: + description: 'Gets or sets destination address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. ' + type: string + destinationPortRange: + description: Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + direction: + description: Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + enum: + - Inbound + - Outbound + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleDirection + priority: + description: 'Gets or sets the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.' + format: int32 + type: integer + protocol: + description: 'Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).' + enum: + - Tcp + - Udp + - '*' + type: string + x-ms-enum: + modelAsString: true + name: SecurityRuleProtocol + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + sourceAddressPrefix: + description: 'Gets or sets source address prefix. CIDR or source IP range. Asterisk ''*'' can also be used to match all source IPs. Default tags such as ''VirtualNetwork'', ''AzureLoadBalancer'' and ''Internet'' can also be used. If this is an ingress rule, specifies where network traffic originates from. ' + type: string + sourcePortRange: + description: Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + type: string + required: + - protocol + - sourceAddressPrefix + - destinationAddressPrefix + - access + - direction + SubResource: + properties: + id: + description: Resource Id + type: string + x-ms-azure-resource: true + Subnet: + allOf: + - $ref: '#/definitions/SubResource' + description: Subnet in a VirtualNetwork resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/SubnetPropertiesFormat' + x-ms-client-flatten: true + SubnetListResult: + description: Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the subnets in a virtual network + items: + $ref: '#/definitions/Subnet' + type: array + SubnetPropertiesFormat: + properties: + addressPrefix: + description: Gets or sets Address prefix for the subnet. + type: string + ipConfigurations: + description: Gets array of references to the network interface IP configurations using subnet + items: + $ref: '#/definitions/IPConfiguration' + readOnly: true + type: array + networkSecurityGroup: + $ref: '#/definitions/NetworkSecurityGroup' + description: Gets or sets the reference of the NetworkSecurityGroup resource + provisioningState: + description: Gets provisioning state of the resource + type: string + resourceNavigationLinks: + description: Gets array of references to the external resources using subnet + items: + $ref: '#/definitions/ResourceNavigationLink' + type: array + routeTable: + $ref: '#/definitions/RouteTable' + description: Gets or sets the reference of the RouteTable resource + Usage: + description: Describes Network Resource Usage. + properties: + currentValue: + description: Gets or sets the current value of the usage. + format: int64 + type: integer + limit: + description: Gets or sets the limit of usage. + format: int64 + type: integer + name: + $ref: '#/definitions/UsageName' + description: Gets or sets the name of the type of usage. + unit: + description: Gets or sets an enum describing the unit of measurement. + enum: + - Count + type: string + x-ms-enum: + modelAsString: true + name: UsageUnit + required: + - unit + - currentValue + - limit + - name + UsageName: + description: The Usage Names. + properties: + localizedValue: + description: Gets or sets a localized string describing the resource name. + type: string + value: + description: Gets or sets a string describing the resource name. + type: string + UsagesListResult: + description: The List Usages operation response. + properties: + nextLink: + description: URL to get the next set of results. + type: string + value: + description: Gets or sets the list Network Resource Usages. + items: + $ref: '#/definitions/Usage' + type: array + VirtualNetwork: + allOf: + - $ref: '#/definitions/Resource' + description: Virtual Network resource + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGateway: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnection: + allOf: + - $ref: '#/definitions/Resource' + description: A common class for general resource information + properties: + etag: + description: Gets a unique read-only string that changes whenever the resource is updated + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayConnectionListResult: + description: Response for ListVirtualNetworkGatewayConnections Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGatewayConnections that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGatewayConnection' + type: array + VirtualNetworkGatewayConnectionPropertiesFormat: + description: VirtualNetworkGatewayConnection properties + properties: + authorizationKey: + description: The authorizationKey. + type: string + connectionStatus: + description: Virtual network Gateway connection status + enum: + - Unknown + - Connecting + - Connected + - NotConnected + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionStatus + connectionType: + description: Gateway connection type IPsec/Dedicated/VpnClient/Vnet2Vnet + enum: + - IPsec + - Vnet2Vnet + - ExpressRoute + - VPNClient + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayConnectionType + egressBytesTransferred: + description: The Egress Bytes Transferred in this connection + format: int64 + type: integer + enableBgp: + description: EnableBgp Flag + type: boolean + ingressBytesTransferred: + description: The Ingress Bytes Transferred in this connection + format: int64 + type: integer + localNetworkGateway2: + $ref: '#/definitions/LocalNetworkGateway' + peer: + $ref: '#/definitions/SubResource' + description: The reference to peerings resource. + provisioningState: + description: Gets provisioning state of the VirtualNetworkGatewayConnection resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetworkGatewayConnection resource + type: string + routingWeight: + description: The Routing weight. + format: int32 + type: integer + sharedKey: + description: The IPsec share key. + type: string + virtualNetworkGateway1: + $ref: '#/definitions/VirtualNetworkGateway' + virtualNetworkGateway2: + $ref: '#/definitions/VirtualNetworkGateway' + VirtualNetworkGatewayIPConfiguration: + allOf: + - $ref: '#/definitions/SubResource' + description: IpConfiguration for Virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VirtualNetworkGatewayIPConfigurationPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkGatewayIPConfigurationPropertiesFormat: + description: Properties of VirtualNetworkGatewayIPConfiguration + properties: + privateIPAllocationMethod: + description: Gets or sets PrivateIP allocation method + enum: + - Static + - Dynamic + type: string + x-ms-enum: + modelAsString: true + name: IPAllocationMethod + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + publicIPAddress: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the PublicIP resource + subnet: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the subnet resource + VirtualNetworkGatewayListResult: + description: Response for ListVirtualNetworkGateways Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets List of VirtualNetworkGateways that exists in a resource group + items: + $ref: '#/definitions/VirtualNetworkGateway' + type: array + VirtualNetworkGatewayPropertiesFormat: + description: VirtualNetworkGateway properties + properties: + activeActive: + description: ActiveActive flag + type: boolean + bgpSettings: + $ref: '#/definitions/BgpSettings' + description: Virtual network gateway's BGP speaker settings + enableBgp: + description: EnableBgp Flag + type: boolean + gatewayDefaultSite: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the LocalNetworkGateway resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting. + gatewayType: + description: The type of this virtual network gateway. + enum: + - Vpn + - ExpressRoute + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewayType + ipConfigurations: + description: IpConfigurations for Virtual network gateway. + items: + $ref: '#/definitions/VirtualNetworkGatewayIPConfiguration' + type: array + provisioningState: + description: Gets provisioning state of the VirtualNetworkGateway resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetworkGateway resource + type: string + sku: + $ref: '#/definitions/VirtualNetworkGatewaySku' + description: Gets or sets the reference of the VirtualNetworkGatewaySku resource which represents the sku selected for Virtual network gateway. + vpnClientConfiguration: + $ref: '#/definitions/VpnClientConfiguration' + description: Gets or sets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. + vpnType: + description: The type of this virtual network gateway. + enum: + - PolicyBased + - RouteBased + type: string + x-ms-enum: + modelAsString: true + name: VpnType + VirtualNetworkGatewaySku: + description: VirtualNetworkGatewaySku details + properties: + capacity: + description: The capacity + format: int32 + type: integer + name: + description: Gateway sku name -Basic/HighPerformance/Standard/UltraPerformance + enum: + - Basic + - HighPerformance + - Standard + - UltraPerformance + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewaySkuName + tier: + description: Gateway sku tier -Basic/HighPerformance/Standard/UltraPerformance + enum: + - Basic + - HighPerformance + - Standard + - UltraPerformance + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkGatewaySkuTier + VirtualNetworkListResult: + description: Response for ListVirtualNetworks Api service call + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets list of VirtualNetworks in a resource group + items: + $ref: '#/definitions/VirtualNetwork' + type: array + VirtualNetworkPeering: + allOf: + - $ref: '#/definitions/SubResource' + description: Peerings in a VirtualNetwork resource + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VirtualNetworkPeeringPropertiesFormat' + x-ms-client-flatten: true + VirtualNetworkPeeringListResult: + description: Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network + properties: + nextLink: + description: Gets the URL to get the next set of results. + type: string + value: + description: Gets the peerings in a virtual network + items: + $ref: '#/definitions/VirtualNetworkPeering' + type: array + VirtualNetworkPeeringPropertiesFormat: + properties: + allowForwardedTraffic: + description: Gets or sets whether the forwarded traffic from the VMs in the remote virtual network will be allowed/disallowed + type: boolean + allowGatewayTransit: + description: Gets or sets if gatewayLinks can be used in remote virtual network’s link to this virtual network + type: boolean + allowVirtualNetworkAccess: + description: Gets or sets whether the VMs in the linked virtual network space would be able to access all the VMs in local Virtual network space + type: boolean + peeringState: + description: Gets the status of the virtual network peering + enum: + - Initiated + - Connected + - Disconnected + type: string + x-ms-enum: + modelAsString: true + name: VirtualNetworkPeeringState + provisioningState: + description: Gets provisioning state of the resource + type: string + remoteVirtualNetwork: + $ref: '#/definitions/SubResource' + description: Gets or sets the reference of the remote virtual network + useRemoteGateways: + description: 'Gets or sets if remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only 1 peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.' + type: boolean + VirtualNetworkPropertiesFormat: + properties: + VirtualNetworkPeerings: + description: Gets or sets list of peerings in a VirtualNetwork + items: + $ref: '#/definitions/VirtualNetworkPeering' + type: array + addressSpace: + $ref: '#/definitions/AddressSpace' + description: Gets or sets AddressSpace that contains an array of IP address ranges that can be used by subnets + dhcpOptions: + $ref: '#/definitions/DhcpOptions' + description: Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network + provisioningState: + description: Gets provisioning state of the PublicIP resource Updating/Deleting/Failed + type: string + resourceGuid: + description: Gets or sets resource guid property of the VirtualNetwork resource + type: string + subnets: + description: Gets or sets list of subnets in a VirtualNetwork + items: + $ref: '#/definitions/Subnet' + type: array + VpnClientConfiguration: + description: VpnClientConfiguration for P2S client + properties: + vpnClientAddressPool: + $ref: '#/definitions/AddressSpace' + description: Gets or sets the reference of the Address space resource which represents Address space for P2S VpnClient. + vpnClientRevokedCertificates: + description: VpnClientRevokedCertificate for Virtual network gateway. + items: + $ref: '#/definitions/VpnClientRevokedCertificate' + type: array + vpnClientRootCertificates: + description: VpnClientRootCertificate for Virtual network gateway. + items: + $ref: '#/definitions/VpnClientRootCertificate' + type: array + VpnClientParameters: + description: VpnClientParameters + properties: + ProcessorArchitecture: + description: VPN client Processor Architecture -Amd64/X86 + enum: + - Amd64 + - X86 + type: string + x-ms-enum: + modelAsString: true + name: ProcessorArchitecture + VpnClientRevokedCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: VPN client revoked certificate of virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VpnClientRevokedCertificatePropertiesFormat' + x-ms-client-flatten: true + VpnClientRevokedCertificatePropertiesFormat: + description: Properties of the revoked VPN client certificate of virtual network gateway + properties: + provisioningState: + description: Gets provisioning state of the VPN client revoked certificate resource Updating/Deleting/Failed + type: string + thumbprint: + description: Gets or sets the revoked Vpn client certificate thumbprint + type: string + VpnClientRootCertificate: + allOf: + - $ref: '#/definitions/SubResource' + description: VPN client root certificate of virtual network gateway + properties: + etag: + description: A unique read-only string that changes whenever the resource is updated + type: string + name: + description: Gets name of the resource that is unique within a resource group. This name can be used to access the resource + type: string + properties: + $ref: '#/definitions/VpnClientRootCertificatePropertiesFormat' + x-ms-client-flatten: true + VpnClientRootCertificatePropertiesFormat: + description: Properties of SSL certificates of application gateway + properties: + provisioningState: + description: Gets provisioning state of the VPN client root certificate resource Updating/Deleting/Failed + type: string + publicCertData: + description: Gets or sets the certificate public data + type: string